Which of the following go out of the loop if expn 2 becoming falseA. 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;..}

This question is related to TCS Interview

Showing Answers 1 - 4 of 4 Answers

Karthik Raj

  • Aug 17th, 2006
 

C

  Was this answer useful?  Yes

Nishi Rathore

  • Sep 25th, 2007
 

according to me the ans is D because when expr2 become false the while(!expr2) become true and will go out of the loop

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions