#include<stdio.h>
int main(){
char arr[] = "Pickpocketing my peace of mind";
int i;
printf("%c",*arr);
arr++;
printf("%c",*arr);
return 0;
}
I am getting error: lvalue required as increment operand. My question is , if we increment a variable like int i=10; i++ will not give any error. but y this?