What is the output of printf("%d")?
Answers were Sorted based on User's Feedback
Answer / guest
it is used to print one integer data type value.
Is This Answer Correct ? | 90 Yes | 46 No |
Answer / 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 |
Answer / anand
it will print some value currently on top of the stack
Is This Answer Correct ? | 20 Yes | 7 No |
What are c++ templates used for?
When should we use multiple inheritance?
Can I learn c++ as my first language?
Define pre-condition and post-condition to a member function in c++?
Which software is used to run c++ program?
What are advantages of C++ when comparing with C?
18 Answers HP, iGate, TCS,
Why are pointers not used in c++?
What is size of a empty class?
7 Answers Microsoft, Tata Elxsi, Wipro,
Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be
What is the full form of india?
What is diamond problem in c++?
What is prototype in c++ with example?