#include <stdio.h> main() { int a[5]={0x11121314,0x21222324,0x31323334,0x41424344,0x51525354}; printf("%p\n%p\n%p\n",a,&a,&a[0]); printf("%d\n%d\n",sizeof(a),sizeof(&a)); printf("%p\n%p",&a+1,a+1); getchar(); }
2023-11-19 15:22:28
#include <stdio.h> main() { int a[5]={0x11121314,0x21222324,0x31323334,0x41424344,0x51525354}; printf("%p\n%p\n%p\n",a,&a,&a[0]); printf("%d\n%d\n",sizeof(a),sizeof(&a)); printf("%p\n%p",&a+1,a+1); getchar(); }