Thursday, December 25, 2008

Wild pointer in C program Questions with Explanation


Unintialized pointer is knowns as wild pointer.

Q1.void main()
{
int *p;
printf(“%u %d”,p,*p);
}
Output : garbage_address garbage_value

No comments:

Blog List