1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#include <iostream> using namespace std; void f() { { int a[1000]; cout << &a[0] << endl; } { int b[1000]; cout << &b[0] << endl; } } int main() { f(); }
1 2
0xfff23320 0xfff23320