How long does this loop run:
for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever
Answer Posted / gaurav
forever because this loop is infinite condition.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Can you explicitly call a destructor on a local variable?
What is anonymous object in c++?
How do I tokenize a string in c++?
What is the difference between passing by reference and passing a reference?
Differentiate between a constructor and a method in C++.
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
Explain the difference between static and dynamic binding of functions?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
What is fflush c++?
what is c++
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
Why do we need c++?
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?
What is a c++ object?
When are exception objects created?