C++ Pointer Get variable address via & Character
#include <iostream> using namespace std; int main() /*w w w . j a va 2 s . co m*/ { int a = 1; cout << &a << endl; return 0; }