What is the output of printf("%d")?
Answer Posted / kanchan
%d prints integer value but we have to provide corresponding variable with it i.e..
printf("%d" n) here it prints value of n which is of integer type
printf("%d") will create a garbage value b'coz copiler is unknown of associated variable.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which is better c++ or java?
Write about the scope resolution operator?
What are dynamic type checking?
What are the basic data types used in c++?
What is the best c++ book for beginners?
How delete [] is different from delete?
What are the uses of typedef in a program?
What is polymorphism & list its types in c++?
What is c++ flowchart?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
What are advantages of using friend classes?
Please explain class & object in c++?
What is the size of integer variable?
Define pre-condition and post-condition to a member function in c++?
Why c++ is the best language?