free c programming course
Wednesday, 7 May 2008
Near pointer questions with solution
(q) what will be output ?
#include
void main()
{
int a=5,i;
int *ptr; //by default it is near pointer.
ptr=&a;
for(i=0;i<300;i++)
{
printf(“\n %p”,ptr);
p++;
delay(100);
}
}
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)