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 are the benefits of pointers?
How is new() different from malloc()?
How to declare an array of pointers to integer?
What is lambda expression c++?
What is the v-ptr?
Explain register storage specifier.
Describe the advantage of an external iterator.
What is meant by the term name mangling in c++?
What is #include cmath?
What is function overriding in c++?
How do you initialize a string in c++?
Is map sorted c++?
What is polymorphism in c++? Explain with an example?
Is the declaration of a class its interface or its implementation?
why and when we can declar member fuction as a private in the class?