GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  TCS  >  C
Go To First  |  Previous Question  |  Next Question 
 C  |  Question 25 of 87    Print  
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;..}
C



  
Total Answers and Comments: 1 Last Update: December 21, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 21, 2008 11:45:33   
Bhoomika sharma Member Since: December 2008   Contribution: 41    

RE: which of the following go out of the loopo 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;..}
The answer is very klear as

As the loop says when d expression1 is true it continues and then goes into the while condition to see dat if the expression 2 is true then only the loop continues else breaks off from the loop when the expression2 goes false.

 
Is this answer useful? Yes | No

 Related Questions

What is false about the following A compound statement is a.A set of simple statmentsb.Demarcated on either side by curly bracketsc.Can be used in place of simple statementd.A C function is not a compound statement.

Which of the following go out of the loopo 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;..}

What is false about the following -- A compound statement isA. A set of simple statementsB. Demarcated on either side by curly bracketsC. Can be used in place of simple statementD. A C function is not a compound statement.

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


 Sponsored Links

 
Related Articles

Verizon Interview Procedure and Placement Paper

Please find the Verizon Interview Procedure and Placement Paper from May 2005.http://www.geekinterview.com/question_details/13365
 

Polaris Interview Preparation and Model Question papers

Polaris Interview Preparation and Model Question papers :  Please find Aptitude(41), Analytical(28), Interview Procedure(1)Click here to view the section
 

Nucleus Interview Preparation and Model Question papers

Nucleus Interview Preparation and Model Question papers. The following model question papers are added. Up One Level   Global-Interview-Questions » Nucleus »
 

Oracle Interview Preparation and Model Question papers

Oracle Interview Preparation and Model Question papers updated with more SQL Questions, Technical, RDBMS Basics and C. Oracle  
 

Mascot Interview Procedure, Pattern and Model Question Papers

Mascot Interview Procedure, Pattern and Model Question Papers Interview ProcedureAt the moment we do not have much informaton about the interview though the candidate may be required to go through both technical and HR interviews. There are a total 6 sections in the written test. Each section h
 

Ramco Interview Procedure, Pattern and Model Question Papers

Ramco Interview Procedure, Pattern and Model Question Papers section added.Interview ProcedureThe information on the interview is pretty sketchy but it consists of both technical grilling and HR interview.The written test consists of both aptitude and a technical test.The aptitude section of the tes
 

Keane India Placement Paper

Hi all , I recently went for Keane India Testing Paper. They offer 2 courses. 1. Advanced Application Programming 5 months course roughly 2. Testing Course 45 days roughly Selected students are given trainig and then the one efficient in their work are absorbed by Keane as Trainee on Stipend b
 

A couple of papers by Mladen Gogala

I was looking for something on google groups last night and came across a post by Mladen that included a link to his website. As I did not remember him having a site I went for a look. Mladen's site....[Read More] Posted by Pete On 03/10/05 At 10:36 PM
 

Will Paying for Resume Placement on Job Boards Help Your Search?

More job hunters are ponying up in hopes of a better chance of getting noticed by employers. But is it worth the money?
 

Murthy to continue as Infosys' non-executive chairman (Hindustan Times)

Infosys chairman and chief mentor NR Narayana Murthy has declared that he would continue to head the IT bellwether as the non-executive chairman after his formal retirement from the company in August 2006.
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape