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

In what situations do you have to use initialization list rather than assignment in constructors?

0 Answers  


. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?

0 Answers  


What is the difference between the functions memmove() and memcpy()?

0 Answers  


List the types of polymorphism in c++?

0 Answers  


What is a constant? Explain with an example.

0 Answers  


Why is c++ still used?

0 Answers  


What is the role of copy constructor in copying of thrown objects?

0 Answers  


an operation between an integer and real always yeilds a) integer result b) real result c) float result

0 Answers  


What is the difference between static link library and dynamic link library?

7 Answers   Tech Mahindra,


Define precondition and post-condition to a member function?

1 Answers  


What are references in c++?

0 Answers  


Write a program to get the value of sin (x) using a library function , when x is given in degrees.

1 Answers  


Categories