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

#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

0 Answers  


What is the difference b/w Structure & Array?

6 Answers  


What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

0 Answers  


What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }

1 Answers   Google,


WAP to convert text into its ASCII Code and also write a function to decode the text given?

2 Answers  


what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }

7 Answers  


What is string in c language?

0 Answers  


For what purpose null pointer used?

0 Answers  


IS STRUCTURES CAN BE USED WITHIN AN ARRAY?

7 Answers   Caritor,


What are 3 types of structures?

0 Answers  


What is a built-in function in C?

1 Answers  


What are the loops in c?

0 Answers  


Categories