fork download
#include <iostream>

struct foo
{
    void print_me()
    {
        std::cout << this << '\n';
    }
};

int main()
{
    foo a;
    std::cout << &a << '\n';
    a.print_me();
}
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
0xbfc6aa6d
0xbfc6aa6d