[ create a new paste ] login | about

Link: http://codepad.org/r5S1hvtV    [ raw code | output | fork ]

W3ODTV7PRIQU3FJX - C++, pasted on Apr 12:
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();
}


Output:
1
2
0xfff23320
0xfff23320


Create a new paste based on this one


Comments: