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 / sur

never..
because initially condition is true,
and x is false, so it will comes out of loop.

Is This Answer Correct ?    10 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What would happen on forgetting [], while deallocating an array through new?

1152


What is the importance of mutable keyword?

1078


Can a list of string be stored within a two dimensional array?

1045


Which format specifier is used for printing a pointer value?

1109


When you overload member functions, in what ways must they differ?

1112


Which software is best for programming?

1214


Describe friend function & its advantages.

1177


When does a 'this' pointer get created?

1153


Can we use this pointer inside static member function?

1118


Is there any function that can skip certain number of characters present in the input stream?

1129


Is string an object in c++?

1212


What is the use of endl in c++?

1065


How will you call C functions from C ++ and vice-versa?

1193


What will happen if a pointer is deleted twice?

1252


Explain what is polymorphism in c++?

1182