What is the output of printf("%d")?
Answer Posted / cooooooool bipul
Hey people
It will not give any syntax error more specifically.. it
will not give any type of error..
The output depends on the compiler u r using...
if it is GCC of linux then O/p== garbage value
there are compilers which will give the last integer value
assigned..
example...
i=30;
printf("%d");
will give ouput 30... but for Gcc it will be garbage value.
| Is This Answer Correct ? | 43 Yes | 8 No |
Post New Answer View All Answers
What do you mean by delegate? Can a user retain delegates?
What do you mean by public protected and private in c++?
What are c++ variables?
What is a template in c++?
Explain the differences between private, public and protected and give examples.
What is virtual table?
How can I learn dev c++ programming?
Who made c++?
What is a pointer how and when is it used?
What are literals in C++?
Which of the following is evaluated first: a) && b) || c) !
What is the use of map in c++?
What are the two types of comments, and how do they differ?
Explain the difference between class and struct in c++?
Do you know the use of vtable?