What will happen when the following code is run:
int x;
while(x<100)
{
cout<<x;
x++;
}
1) The computer will output "0123...99"
2) The computer will output "0123...100"
3) The output is undefined
Answer Posted / sanish joseph
ans s absolutely right..
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
How do you explain polymorphism?
What are two types of polymorphism?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is the diamond problem in inheritance?
What is overloading and its types?
Why is abstraction needed?
Is html an oop?
What is difference between pop and oop?
Why do we use inheritance?
What is super in oop?
What is a class in oop?
Prepare me a program for the animation of train
What is encapsulation with example?
What is difference between polymorphism and inheritance?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)