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...


which of the following go out of the loopo if expn 2
becoming false
a.while(expn 1){...if(expn 2)continue;}
b.while(!expn 1){if(expn 2)continue;...}
c.do{..if(expn 1)continue;..}while(expn 2);
d.while(!expn 2){if(expn 1)continue;..}

Answers were Sorted based on User's Feedback



which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn ..

Answer / jai

c) Since expn2 becoming false will terminate do-while loop.

Is This Answer Correct ?    10 Yes 0 No

which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn ..

Answer / prashanth

answer: c

here in do-while:
fist the statements inside the block gets executed.then
when it checks the condition ,it will be come out of loop
because conditions goes wrong

Is This Answer Correct ?    3 Yes 0 No

which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn ..

Answer / mannucse

d

Is This Answer Correct ?    0 Yes 4 No

which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn ..

Answer / bipin chandra sai.s

ans is d,bcoz d is only the loop statement in the option

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More C Interview Questions

Please list all the unary and binary operators in C.

3 Answers  


how many header file is in C language ?

44 Answers   College School Exams Tests, CTS, IBM, IMS, Infosys, ME, Sign Solutions, Wipro, XVT,


Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types?

2 Answers   Excel,


Can you think of a way when a program crashed before reaching main? If yes how?

2 Answers  


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

0 Answers  


CopyBits(x,p,n,y) copy n LSBs from y to x starting LSB at 'p'th position.

9 Answers   Adobe,


How would you obtain the current time and difference between two times?

0 Answers   TISL,


What is the difference between a function and a method in c?

0 Answers  


Taking an example,differentiate b/w loader and linker ?

1 Answers  


provide an example of the Group by clause, when would you use this clause

0 Answers  


Write a program to check prime number in c programming?

0 Answers  


What is the scope of static variable in c?

0 Answers  


Categories