An interview question in C

Go4Expert Member
31May2008,19:37   #1
Me@earth's Avatar
What is the output of printf("%d")?
Ambitious contributor
1Jun2008,00:35   #2
Darkness1337's Avatar
nothin?
or the value of d?

http://www.cplusplus.com/reference/c...io/printf.html
http://computer.howstuffworks.com/c6.htm
lol
Go4Expert Founder
1Jun2008,08:47   #3
shabbir's Avatar
Garbage
Go4Expert Member
2Jun2008,20:42   #4
Me@earth's Avatar
Quote:
Originally Posted by shabbir
Garbage
Ya i too vote for garbage value only..But some of my friends told me that it depends on the compiler is that so???
Go4Expert Founder
3Jun2008,10:44   #5
shabbir's Avatar
Quote:
Originally Posted by Me@earth
Ya i too vote for garbage value only..But some of my friends told me that it depends on the compiler is that so???
Not computer but compiler.