What is the output of printf("%d")?
Answer Posted / vaisakh.r
printf("%d") will printf some garbage value since there is no varible specified in it.so compiler check the argument stack check offset depending on the format specifier print whats on that location, since we can't sure about that value say it will print some garbage value
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I run a program in notepad ++?
What is the difference between a template and a macro?
What is the use of "new" operator?
What is iomanip c++?
What are abstract data types in c++?
Can you use the function fprintf() to display the output on the screen?
Describe protected access specifiers?
If there are two catch statements, one for base and one for derived, which should come first?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
What is the use of lambda in c++?
an operation between an integer and real always yeilds a) integer result b) real result c) float result
Explain unexpected() function?
What is pair in c++?
Describe linked list using C++ with an example.
What would happen on forgetting [], while deallocating an array through new?