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 are c++ stream classes?
What is vectorial capacity?
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
What is c++ namespace?
What is the difference between struct and class?
What is a far pointer? where we use it?
Do inline functions improve performance?
What does override mean in c++?
When one must use recursion function? Mention what happens when recursion functions are declared inline?
Explain about vectors in c ++?
What are dynamic type checking?
Write a program to add three numbers in C++ utilizing classes.
Write a program which uses Command Line Arguments
what is data encapsulation in C++?
If you don’t declare a return value, what type of return value is assumed?