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 pointers used for c++?
Why do we need templates?
When to use “const” reference arguments in a function?
What is #include math h in c++?
Explain selection sorting?
What is #include cmath?
What is c++ stringstream?
To which numbering system can the binary number 1101100100111100 be easily converted to?
What is long in c++?
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
What is a block in c++?
Differentiate between structure and class in c++.
what Is DCS ? what i will get benefit when i did?
If I is an integer variable, which is faster ++i or i++?
How do I get good at c++ programming?