#include #include struct ma_struct { int i; char c; }; int main(void) { char c; char * pc = &c; int i; int * pi = &i; struct ma_struct s; struct ma_struct * ps = &s; int t[] = {1, 2, 3, 4}; printf("&c = %p, sizeof(c) = %d, pc+1 = %p\n", pc, sizeof(*pc), pc+1); printf("&i = %p, sizeof(i) = %d, pi+1 = %p\n", pi, sizeof(*pi), pi+1); printf("&s = %p, sizeof(struct ma_struct) = %d, ps + 1 = %p\n", ps, sizeof(*ps), ps + 1); printf("Balayage de t\n"); for (pi = t; pi < t+4; pi++) { printf("contenu de %p = %d\n", pi, *pi); } return EXIT_SUCCESS; }