what is the difference between entry control and exit
control statement?

Answers were Sorted based on User's Feedback



what is the difference between entry control and exit control statement?..

Answer / ksk

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 ?    338 Yes 31 No

what is the difference between entry control and exit control statement?..

Answer / s.s.venkatesh

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 ?    201 Yes 32 No

what is the difference between entry control and exit control statement?..

Answer / fernando torres 9

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 ?    95 Yes 23 No

what is the difference between entry control and exit control statement?..

Answer / sandeep

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 ?    49 Yes 21 No

what is the difference between entry control and exit control statement?..

Answer / greeshma

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 ?    26 Yes 14 No

what is the difference between entry control and exit control statement?..

Answer / ajay pandey

The entry control loop is also called for or while loop. Because while loop and for loop are check condition first and the condition is true then it execute the inside statement otherwise it is exit. Where do-while loop is atlist one time execute the inside statement and then check condition. Therefor do-while loop is exit control loop.

Is This Answer Correct ?    4 Yes 0 No

what is the difference between entry control and exit control statement?..

Answer / prathika

entry check loop:
first the condition of the loop wll be checked if the condition is true then the body of the lop will be executed
if the condition is not satisified the loop will not be executed
ex:for,while
exit check loop:
the conditio is placed at the end the statment will be executed atleast once even if the condition fails
ex:do while

Is This Answer Correct ?    4 Yes 3 No

what is the difference between entry control and exit control statement?..

Answer / jimi saha

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 ?    14 Yes 15 No

what is the difference between entry control and exit control statement?..

Answer / varsha

Entry checking loop works on while statement, Exit checking loop works on do....while statement.

Entry checking loop will check the condition at the very beginning and if the condition is false,it won't work......
The exit checking loop will check for the condition at the last and even if the condition is false,it will work at least once


Ex for entry controlled loop:
int i=6;
while(i<5)
{
System.out.println("hello");
}

Output:
no output...


Ex. for exit controlled loop:
int i=6;
do
{
System.out.println("hello");
}
while(i<5);

Output:
HELLO.....

Is This Answer Correct ?    8 Yes 10 No

what is the difference between entry control and exit control statement?..

Answer / rahul singh

entry controlled loop first test the terminating condition and then execute the loop body.If the condition is found true he loop body is execute other wise the loop terminates.It is also called pre-tested loop.or Top -Tested loop.
An exit control loop first execute the loop bod and then test the terminating condition.If the condition is found true the loop body execute again otherwise the loop terminates.It is also called Post Tested loop or Bottom Tested loop.

Is This Answer Correct ?    3 Yes 6 No

Post New Answer

More C Interview Questions

What should malloc() do?

0 Answers  


if function is declared as static in one source file, if I would like to use the same function in some other source file...is it possible....how ?

2 Answers   NetApp,


Derive the complexity expression for AVL tree?

1 Answers  


What are loops in c?

0 Answers  


What is the explanation for modular programming?

0 Answers  






Can we add pointers together?

0 Answers  


What is maximum size of array in c?

0 Answers  


Prove or disprove P!=NP.

5 Answers   Microsoft,


void main(int argc,char *argv[],char *env[]) { int i; for(i=1;i<argc;i++) printf("%s",env[i]); }

3 Answers  


Why we write conio h in c?

0 Answers  


When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these

1 Answers   Accenture, IBM,


How can you find the day of the week given the date?

0 Answers  


Categories