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); } }

No comments: