address - of operator in c++
This video tutorial explains the address of operator available in c++.
You will learn what is address of operator and how to use it to get the address of a memory location in detail with examples.
source code for this tutorial
#include <iostream> using namespace std; int main() { int age = 100, weight = 60; cout << age << endl; cout << &age <<endl; cout << weight << endl; cout << &weight <<endl; return 0; }