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

Answers were Sorted based on User's Feedback



How long does this loop run: for(int x=0; x=3; x++) a) Never b) Three times c) Forever ..

Answer / p.lakshmi narasimha

never

Is This Answer Correct ?    0 Yes 0 No

How long does this loop run: for(int x=0; x=3; x++) a) Never b) Three times c) Forever ..

Answer / g m rajput

int main()
{
int f=1;
for(:f:)
cout<<"f="<<f++<<"
;
return 0;
}

Is This Answer Correct ?    0 Yes 0 No

How long does this loop run: for(int x=0; x=3; x++) a) Never b) Three times c) Forever ..

Answer / gaurav

forever because this loop is infinite condition.

Is This Answer Correct ?    0 Yes 1 No

How long does this loop run: for(int x=0; x=3; x++) a) Never b) Three times c) Forever ..

Answer / nava

forever

don fight just execute n c!

Is This Answer Correct ?    0 Yes 2 No

How long does this loop run: for(int x=0; x=3; x++) a) Never b) Three times c) Forever ..

Answer / amrutha

a)Never

Eric is fooler than Premalatha

Is This Answer Correct ?    3 Yes 13 No

How long does this loop run: for(int x=0; x=3; x++) a) Never b) Three times c) Forever ..

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

How long does this loop run: for(int x=0; x=3; x++) a) Never b) Three times c) Forever ..

Answer / k.premalatha

a) Never

Is This Answer Correct ?    4 Yes 20 No

Post New Answer

More C++ General Interview Questions

What is called array?

0 Answers  


Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D

1 Answers  


Why are pointers not used in c++?

0 Answers  


What is the use of string in c++?

0 Answers  


Why Pointers are not used in C++?

0 Answers   Global Logic,


What is the use of the this pointer?

3 Answers  


Describe the syntax of single inheritance in C++?

0 Answers   Fidelity,


Explain one-definition rule (odr).

0 Answers  


What is c++ mutable?

0 Answers  


Which is better turbo c++ or dev c++?

0 Answers  


What is a multiset c++?

0 Answers  


Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.

0 Answers  


Categories