C++ Pointers

Pointers

#include <iostream.h>

void main()
{
  int x;
  int *pointer;
  pointer=&x;  
  cin>>x;
  cout<<*pointer;
}