The Address Operator &
It is possible to find out the address occupied by a
variable by using the address of the operator &.
void main()
{
int var1 = 11;
int var2 = 22;
int var3 = 33;
cout << endl << &var1
<< endl << &var2
<< endl << &var3;
}
Previous slide
Next slide
Back to first slide
View graphic version