#include <iostream>
using namespace std;
int main(){
int Apple = 25;
int *Pointer = &Apple;
cout<<Apple<<endl;
cout<<Pointer<<endl;
cout<<*Pointer<<endl;
return 0;
}
Output:
25
0x7ffc39e1726c
25
* before a variable's name gets the value of that variable.
That is if it is defined as a pointer.