I wanted to post this as a comment, but I still don't have a reputation ...: - /
, , - . , . , , .
, :
short s = 5;
int i = 6;
printf("s: 0x%X -> 0x%X\n", &s, (&s)+1);
printf("i: 0x%X -> 0x%X\n", &i, (&i)+1);
:
s: 0x270A724E -> 0x270A7250
i: 0x270A7248 -> 0x270A724C
, s ( 4E 50, a short) i ( 48 4C, a int). (&s)+1 . , []. , char *str , str++.