C++ examples for Operator:Address Operator
Using the & Character to Obtains the address of a variable and prints it.
#include <iostream> using namespace std; int main() /*from ww w . j a v a2s .com*/ { int a = 1; cout << &a << endl; return 0; }