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
Explain about templates of C++.
What is set in c++?
How do you add an element to a set in c++?
What kind of jobs can I get with c++?
What is stream and its types in c++?
What are arrays c++?
What is the C-style character string?
What is a flag in c++?
Explain binary search.
What are member functions used in c++?
Explain the difference between realloc() and free() in c++?
What are the comments in c++?
Can non graphic characters be used and processed in C++?
What is vector processing?
Why do we use classes in programming?