What is the output of printf("%d")?
Answer Posted / hafizul
the value at the top of the stack will be printed.
if some value is assigned to some variable before dis stmnt
then that value will be printed, otherwise some garbage
value(that r at the top of the stack) will be printed.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the new features that iso/ansi c++ has added to original c++ specifications?
What is the c++ programming language used for?
Explain virtual class and friend class.
What is scope in c++ with example?
Describe linkages and types of linkages?
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
What is the role of copy constructor in copying of thrown objects?
Should I learn c or c++ or c#?
What is split a string in c++?
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
What parameter does the constructor to an ofstream object take?
How is static data member similar to a global variable?
What are shallow and deep copy?
What is the use of setfill in c++?
What is the difference between map and hashmap in c++?