ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
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;..}
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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;..}
Answer
# 1
d
 
Is This Answer Correct ?    0 Yes 0 No
Mannucse
[Kiona]
 
  Re: 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;..}
Answer
# 2
c) Since expn2 becoming false will terminate do-while loop.
 
Is This Answer Correct ?    1 Yes 0 No
Jai
 
 
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?  1
to find the program of matrix multiplication using arrays  1
Which of the following are valid "include" formats? A)#include and #include[file.h] B)#include (file.h) and #include C)#include [file.h] and #include "file.h" D)#include <file.h> and #include "file.h" Accenture12
What is macro? IBM3
What is the output for the program given below typedef enum grade{GOOD,BAD,WORST,}BAD; main() { BAD g1; g1=1; printf("%d",g1); } ADITI2
Which command is more efficient? *(ptr+1) or ptr[1]  3
Can u return two values using return keyword? If yes, how? If no, why?  6
WAP &#8211; represent a char in binary format Motorola4
How to access or modify the const variable in c ? HP3
What is false about the following A compound statement is a.A set of simple statments b.Demarcated on either side by curly brackets c.Can be used in place of simple statement d.A C function is not a compound statement. TCS1
what are the static variables HCL7
4.A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above Accenture4
why should i select you? Wipro17
WHY DO WE USE A TERMINATOR IN C LANGUAGE?  2
consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none TCS3
What is structure padding ? HP1
#define DCHAR char* typedef char* TCHAR; if using these following variables will be declared like DCHAR ch1, ch2; TCHAR ch3, ch4; then what will be types of ch1, ch2, ch3 and ch4? NDS1
write a program to find the number of even integers and odd integers in a given array in c language Olive-Tech2
Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.  1
Who is invented by c? Infosys12
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com