pointers in c++

pointers in c++



#include <iostream>
using namespace std;
int main()
{

// pointers   *    &

int point1=5;       
int *point2=&point1;      // take the address

cout<<point1<<endl;
cout<<point2<<endl;
cout<<*point2<<endl;
cout<<&point1<<endl;


}