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
What is multilevel inheritance?
What is meant by oops concept?
Whats oop mean?
Is data hiding and abstraction same?
hi all..i want to know oops concepts clearly can any1 explain??
explain sub-type and sub class? atleast u have differ it into 4 points?
What is a function in oop?
#include
Why oops is important?
any one please tell me the purpose of operator overloading
How does polymorphism work?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
Why is polymorphism used?
Can private class be inherited?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?