What is the output of printf("%d")?
Answer Posted / vinod
It prints the value in the stack.That means the if there is
previous initialisation of values.If there are no
definitions of integer varaibles,it would display the
garbage value.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the different types of comments allowed in c++?
In a function declaration, what does extern mean?
what is multi-threading in C++?
What is diamond problem in c++?
What happens when the extern "c" char func (char*,waste) executes?
What is the role of C++ shorthand's?
How is c++ used in the real world?
How do you print a string on the printer?
Is map ordered c++?
Can non graphic characters be used and processed in C++?
What is object oriented programming (oop)?
Is vector a class in c++?
How do you clear a map in c++?
What are the extraction and insertion operators in c++? Explain with examples.
State two differences between C and C++.