#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+CgppbnQgbWFpbigpIHsKICAgIGNoYXIgYXJyW10gPSAiYWJjZCI7CiAgICBjaGFyICpwID0gYXJyOwoKICAgIHByaW50ZigiJWNcdCIsICsrKnApOyAgIC8vIEluY3JlbWVudCB0aGUgdmFsdWUgcG9pbnRlZCB0byBieSBwLCB0aGVuIHByaW50IGl0LgogICAgcHJpbnRmKCIlY1x0IiwgKnArKyk7ICAgLy8gUHJpbnQgdGhlIHZhbHVlIHBvaW50ZWQgdG8gYnkgcCwgdGhlbiBpbmNyZW1lbnQgdGhlIHBvaW50ZXIuCiAgICBwcmludGYoIiVjXHQiLCAoKnApKyspOyAvLyBQcmludCB0aGUgdmFsdWUgcG9pbnRlZCB0byBieSBwLCB0aGVuIGluY3JlbWVudCB0aGUgdmFsdWUuCiAgICBwcmludGYoIiVjXG4iLCAqcCsrKTsgICAgIC8vIFByaW50IHRoZSBjdXJyZW50IHZhbHVlIHBvaW50ZWQgdG8gYnkgcC4KCiAgICByZXR1cm4gMDsKfQo=