Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How long does this loop run:

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

Answer Posted / manju

The correct and verified answer is the loop runs forever

the answer is c. it is so becoz in condition part we are
giving i=3 and not i==3.


so it executes infinite times.

Is This Answer Correct ?    32 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is size_type?

1058


what is a reference variable in C++?

1241


Explain operator overloading.

1067


What return value must conversion operators have in their declaration?

1096


What is meant by iomanip in c++?

1220


What is the difference between a "copy constructor" and an "assignment operator" in C++?

1077


What is a constructor and how is it called?

1050


How are Structure passing and returning implemented by the compiler?

1142


What is the difference between function overloading and operator overloading?

1115


Can a program run without main?

1247


What are the data types in c++?

948


What is data types c++?

1021


What does I ++ mean in c++?

1107


Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?

1128


Which is most difficult programming language?

1105