ALLInterview.com :: Home Page            
 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  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Programming Languages >> C
 
 


 

 
 C interview questions  C Interview Questions (2262)
 C++ interview questions  C++ Interview Questions (1118)
 VC++ interview questions  VC++ Interview Questions (342)
 Delphi interview questions  Delphi Interview Questions (510)
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions (646)
Question
what is the difference between entry control and exit
control statement?
 Question Submitted By :: C
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
Entry Comtrolled will check the Condition at First and
doesn't execute if it is False.
Exit Comtrolled will check the Condition at Last and at
least once the statement will execute though it is False .
 
Is This Answer Correct ?    150 Yes 13 No
Ksk
 
Answer
# 2
Entry control is otherwise called as WHILE loop,because the
while loop checks the condition at first,and then only
execute the following instructions.

Exit control is also called as DO WHILE loop,because the do
while loop checks the condition at last
 
Is This Answer Correct ?    92 Yes 10 No
S.s.venkatesh
 
 
 
Answer
# 3
In Entry controlled loop the test condition is checked
first and if that condition is true than the block of
statement in the loop body will be executed while in exit
controlled loop the body of loop will be executed first and
at the end the test condition is checked,if condition is
satisfied than body of loop will be executed again.
 
Is This Answer Correct ?    27 Yes 6 No
Sandeep
 
Answer
# 4
Entry control is otherwise called as WHILE loop,because the
while loop checks the condition at first,and then only
execute the following instructions.

Exit control is also called as DO WHILE loop,because the do
while loop checks the condition at last

Entry Comtrolled will check the Condition at First and
doesn't execute if it is False.
Exit Comtrolled will check the Condition at Last and at
least once the statement will execute though it is False .

In Entry controlled loop the test condition is checked
first and if that condition is true than the block of
statement in the loop body will be executed while in exit
controlled loop the body of loop will be executed first and
at the end the test condition is checked,if condition is
satisfied than body of loop will be executed again.

How's Thisssssssszzzzzzzz.........
 
Is This Answer Correct ?    23 Yes 5 No
Fernando Torres 9
 
Answer
# 5
entry control loop
the first step in such loop is evaluating the condition.. and it executes if it is true.. and will not execute if it is false


exit control loop
here the execution is the first step and evaluation is the second step..
 
Is This Answer Correct ?    9 Yes 1 No
Greeshma
 
Answer
# 6
In Entry controlled loop the test condition is checked first
and if condition is true than the bock of statement in the loop body will be executed while in exit controlled loop the body of loop will be executed first and at the end the test condition is checked, if condition is satisfied then body of loop will be executed again..
 
Is This Answer Correct ?    5 Yes 3 No
Jimi Saha
 
Answer
# 7
Entry Control loop can be said as the loop which checks the
condition before execution of body if condition asked are
true than it will come to the next step(can be said as body
part of that particular loop/program) they are WHILE,FOR

EXIT Control loop can be said as the loop which checks the
condition after execution of body at once(can be said as
body part of that particular loop/program) if condition
asked are true than it will come to the second time
execution they are do-while
 
Is This Answer Correct ?    2 Yes 3 No
Kishan Agrawal
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
main() { char x; while(x=0;x<=255;x++) printf("\nAscii value %d Charater %c",x,x); }   2
actually i have 2 years teaching experience as computer faculty but now i am a DBA but when i go for interview many peoples asked me why i left my teaching profession and why i want to come in this field kindly give me the proper answer of this queston Ramco 3
write a programme that inputs a number by user and gives its multiplication table.   2
what is a function prototype?   1
code for bubble sort?   1
What is a symbolic constant?   1
what is the main use of c where it can use the c Infosys 2
write a programming in c language, 1 3 5 7 9 11 NIIT 2
what is difference b/w extern & volatile variable?? Teleca 6
WAP &#8211; represent a char in binary format Motorola 4
#include<stdio.h> main() { char *p1; char *p2; p1=(char *) malloc(25); p2=(char *) malloc(25); strcpy(p1,"Ramco"); strcpy(p2,"Systems"); strcat(p1,p2); printf("%s",p1); } Tell me the output? Ramco 6
what would be the output of the following prog? Justify your answer? main() { unsigned char ch; unsigned char i; ch = -255; printf("%d",ch); i = -1; printf("%d",i); }   1
 
For more C Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com