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 a storage class?

0 Answers  


What is a constant? Explain with an example.

0 Answers  


Differentiate between the message and method?

1 Answers  


when can we use virtual destructor?

7 Answers   HCL, HP, Virage Logic,


A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.

0 Answers  


Is nan a c++?

0 Answers  


Explain the need for "Virtual Destructor"?

2 Answers   Infosys,


Array base access faster or pointer base access is faster?

0 Answers  


what is object?

7 Answers  


What is the full form of c++?

0 Answers  


Are iterators pointers?

0 Answers  


Can c++ do everything c can?

0 Answers  


Categories