Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   An interview question in C (http://www.go4expert.com/forums/interview-question-c-t10965/)

Me@earth 31May2008 19:37

An interview question in C
 
What is the output of printf("%d")?

Darkness1337 1Jun2008 00:35

Re: An interview question in C
 
nothin?
or the value of d?

http://www.cplusplus.com/reference/c...io/printf.html
http://computer.howstuffworks.com/c6.htm
lol

shabbir 1Jun2008 08:47

Re: An interview question in C
 
Garbage

Me@earth 2Jun2008 20:42

Re: An interview question in C
 
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???

shabbir 3Jun2008 10:44

Re: An interview question in C
 
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.


All times are GMT +5.5. The time now is 14:37.