Compile this and watch the result
Code:
int MyVariable;
int* MyPointer;
Myvariable = 5;
MyPointer = &MyVariable; //make the pointer pooint to MyVariable
cout << "MyPointer: " << MyPointer << endl; //Print the value of the pointer (the adress)
cout << "*MyPointer: " << *MyPointer << endl;//Print the value of what the pointer points at
cout << "MyPointer[0]: " << MyPointer[0] << endl;//Print the first element of what the pointer points at (pointers are like arrays). This is usually the same as *MyPointer