Monday 6 May 2013

What is the output of printf("%d")?


printf() Function
What is the output of printf("%d")?

1. When we write printf("%d",x); this means compiler will print the
value of x. But as here, there is nothing after %d so compiler will show
in output window garbage value.

No comments:

Post a Comment