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 (2253)
 C++ interview questions  C++ Interview Questions (1111)
 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 ?    144 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 ?    89 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 ?    4 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 1 No
Kishan Agrawal
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
what is the self-referential structure?   1
write a program to generate 1st n fibonacci prime number   11
44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(%x, -1<<4); ? 47.will the program compile? int i; scanf(%d,i); printf(%d,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?   3
Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures. Google 3
void main() { int i=5; printf("%d",i+++++i); } ME 17
given the piece of code int a[50]; int *pa; pa=a; to access the 6th element of the array which of the following is incorrect? a.*(a+5) b.a[5] c.pa[5] d.*(*pa + 5) TCS 6
What is volatile   2
What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1; TCS 12
How to implement variable argument functions ? HP 1
How to add two numbers without using semicolon n c????   3
How do you initialize function pointers? Give an example?   3
a=0; b=(a=0)?2:3; a) What will be the value of b? why b) If in 1st stmt a=0 is replaced by -1, b=? c) If in second stmt a=0 is replaced by -1, b=? Geometric-Software 6
 
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