Name:
Anonymous
2011-10-18 14:55
#include <stdio.h>
int main() {
int x[5];
printf("%p\n", x);
printf("%p\n", x+1);
printf("%p\n", &x);
printf("%p\n", &x+1);
return 0;
}
Since none of you use C compilers I know there will be no risk of cheating.
Name:
Anonymous
2011-10-19 13:57
the array is in the .bss section so let's say it begins in 0x400000, it could be something like:
0x400010
0x400014
0x400010
0x400014
on systems where pointers are 32 bits
Name:
Anonymous
2011-10-19 14:08
>>14
why would it be in .bss? it should be on the
[b]stack[/b].