What is the output of printf("%d")?
Answer Posted / vinod
It prints the value in the stack.That means the if there is
previous initialisation of values.If there are no
definitions of integer varaibles,it would display the
garbage value.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is a storage class used in c++?
What is the limitation of cin while taking input for character array?
What is meant by entry controlled loop? What all C++ loops are exit controlled?
What is object in c++ example?
Why should we use null or zero in a program?
What is the difference between the functions rand(), random(), srand() and randomize()?
Explain how overloading takes place in c++?
Will c++ be replaced?
What are the two types of comments, and how do they differ?
What is the equivalent of Pascal's Real a) unsigned int b) float c) char
When we use Abstract Class and when we use Interface?where we will implement in real time?
What do nonglobal variables default to a) auto b) register c) static
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
Which sort does c++ use?
What is c++ similar to?