Tuesday, 24 February 2015

Pointer Arithmetic Using C++

#include<iostream.h>
#include<conio.h>
main()
{
int a=100,*p;
clrscr();
p=&a;
cout<<"\n Pointer Arithmetic Result is :"<<(++*p);
getch();
}

No comments:

Post a Comment