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
How do you master coding?
how to access grid view row?
What is a map in c++?
What do you know about near, far and huge pointer?
What are static variables?
Why are pointers used?
Differences between private, protected and public and give examples.
Explain the differences between list x; & list x();.
What is type of 'this' pointer?
What are features of c++?
the maximum length of a character constant can be a) 2 b) 1 c) 8
What are exceptions c++?
What are friend classes? What are advantages of using friend classes?
How does a C++ structure differ from a C++ class?
What is a syntax in c++?