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

Define linked lists with the help of an example.

554


How can a called function determine the number of arguments that have been passed to it?

655


How a new element can be added or pushed in a stack?

583


what are function pointers?

580


What is the purpose of extern storage specifier?

625






What are the data types in c++?

517


What are virtual functions in c++?

689


Is it possible to write a c++ template to check for a function's existence?

578


Does c++ have foreach?

525


Explain how overloading takes place in c++?

575


What is c++ hash?

620


What are c++ tokens?

592


What is c++ used for in games?

604


Is swift better than c++?

540


How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?

1837