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 private, public and protected inheritance?
What is ios flag in c++?
What do you mean by funtion prototype?
Explain what is polymorphism in c++?
What is java and c++?
Who was the creator of c++?
What do you mean by public protected and private in c++?
What is the insertion operator and what does it do?
Explain virtual destructor?
Is linux written in c or c++?
What is istream and ostream in c++?
Is java a c++?
What do you mean by inheritance in c++? Explain its types.
What is a singleton c++?
What's c++ used for?