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 dynamic type checking?
What happens when the extern "c" char func (char*,waste) executes?
Can a program run without main?
What operator is used to access a struct through a pointer a) >> b) -> c) *
Do you know what are pure virtual functions?
Define a nested class. Explain how it can be useful.
What is the difference between an array and a list?
What does catch(…) mean?
What is copy constructor? Can we make copy constructor private in c++?
What is the best it certification?
What are inline functions? What is the syntax for defining an inline function?
Explain the static member function.
What is lambda expression c++?
What is c++ stringstream?
Is c# written in c++?