#include <stdio.h>
int main() {
char arr[] = "abcd";
char *p = arr;
printf("%c\t", ++*p
); // Increment the value pointed to by p, then print it. printf("%c\t", *p
++); // Print the value pointed to by p, then increment the pointer. printf("%c\t",(*p
)++); // Print the value pointed to by p, then increment the value. printf("%c\n", *p
); // Print the current value pointed to by p.
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGNoYXIgYXJyW10gPSAiYWJjZCI7CiAgICBjaGFyICpwID0gYXJyOwoKICAgIHByaW50ZigiJWNcdCIsICsrKnApOyAgIC8vIEluY3JlbWVudCB0aGUgdmFsdWUgcG9pbnRlZCB0byBieSBwLCB0aGVuIHByaW50IGl0LgogICAgcHJpbnRmKCIlY1x0IiwgKnArKyk7ICAgLy8gUHJpbnQgdGhlIHZhbHVlIHBvaW50ZWQgdG8gYnkgcCwgdGhlbiBpbmNyZW1lbnQgdGhlIHBvaW50ZXIuCiAgICBwcmludGYoIiVjXHQiLCgqcCkrKyk7IC8vIFByaW50IHRoZSB2YWx1ZSBwb2ludGVkIHRvIGJ5IHAsIHRoZW4gaW5jcmVtZW50IHRoZSB2YWx1ZS4KICAgIHByaW50ZigiJWNcbiIsICpwKTsgICAgIC8vIFByaW50IHRoZSBjdXJyZW50IHZhbHVlIHBvaW50ZWQgdG8gYnkgcC4KCiAgICByZXR1cm4gMDsKfQo=