Friday, July 31, 2009

Why the output of printf("%d %d",a,*a) is 1 0 ?

when a=1 and integer in c programing..

Why the output of printf("%d %d",a,*a) is 1 0 ?
because a is a integer with value 1 and *a is a integer pointer which by default is initailised to 0


No comments:

Post a Comment