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 |
which operator is used for performing an exponential operation a) > b) ^ c) none
What does floor mean in c++?
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
Why is swift so fast?
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
What is size_type?
What is data type in c++?
What are the storage qualifiers?
What is #include iostream h in c++?
What is a null object in c++?
What are c++ tokens?