#include <iostream>

using namespace std;


int f(){
    double d;
    cout << "address of d: " << &d << endl;
    return 7;
}

void g(){
    int x;
    cout << "address of x: " << &x << endl;
}


int main(){

    int x;
    cout << "address of x in main: " << &x << endl;

    f();
    g();

    new int;

    return 0;
}

