How long does this loop run:

for(int x=0; x=3; x++)
a) Never
b) Three times
c) Forever

Answer Posted / john

the loop runs forever guys....
have you tried this? without trying u r giving the random answers?
Sentrix, Eric, Manju,Pracheer Gupta are right...
other guys please try it....

Is This Answer Correct ?    17 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the main use of c++?

547


Why do you use the namespace feature?

642


Which sort does c++ use?

576


What is the arrow operator in c++?

554


What are guid? Why does com need guids?

566






What is flush programming?

566


What is the difference between map and hashmap in c++?

553


Define stacks. Provide an example where they are useful.

572


In a function declaration, what does extern mean?

634


Which c++ operator cannot overload?

543


Explain the difference between static and dynamic binding of functions?

545


When does a name clash occur in c++?

711


What is a class template?

583


What is difference between rand () and srand ()?

588


We use library functions in the program, in what form they are provided to the program?

590