I cannot figure out what is happening in the background and the code breaks. I was hoping that ++(*p) would print the next character which is 'b' ('a'+1 yields 'b'). So, what is it really doing the ++(*p) command?
++(*p) , ++*p are these two equivalent?
1 2 3 4 5 6
char *p, *a[1]={"ac"};// an array of pointers with one array element string
p=a[0];
printf("%c\n",*p );
printf("%c", ++(*p) );