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
What is setw manipulator in c++?
Where Malloc(), Calloc(), and realloc() does get memory?
Can I make ios apps with c++?
What is the best free c++ compiler for windows?
Define the operators that can be used with a pointer.
Should the this pointer can be used in the constructor?
Why is c++ considered difficult?
Is dev c++ a good compiler?
How to declare a function pointer?
What is atoi?
What is c++ try block?
What is enum c++?
How do I use turbo c++?
Explain what are single and multiple inheritances in c++?
Is c++ vector dynamic?