How long does this loop run:
for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever
Answer Posted / eric
The loop will run forever.
K.premalatha is the foolest lady I have ever met.
| Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
Difference between pass by value and pass by reference?
what is VOID?
What causes a runtime error c++?
We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?
What is lambda expression c++?
How to get the current position of the file pointer?
When should we use container classes instead of arrays?
What are the advantages of using typedef in a program?
What is the array and initializing arrays in c++?
What is constructor in C++?
What is double in c++?
How come you find out if a linked-list is a cycle or not?
When is the copy constructor called?
What is the first name of c++?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?