1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #include <stdio.h> char p[1024]; int main(){ char *pp = p; char *tmp; printf("%x\n", pp); tmp = p + 1; p = tmp; printf("%x\n", pp); return 0; } | cs |
p 시작주소를 +1 하고싶은데 p++은 안되더라구
++p
안대여