You are on page 1of 1

PONTER

#include<iostream.h>
#include<conio.h>

main () {
int foo;
int *x;

foo=123;
x=&foo;

cout<< foo;
cout<<endl;
cout<<x;
cout<<endl;
cout<<&foo;
cout<<endl;
cout<<*x;
cout<<endl;
getch();
return 0;

output

You might also like