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 is true about the following C Functions (a) Need not return any value (b) Should always return an integer (c) Should always return a float (d) Should always return more than one value

2 Answers   DynPro, TCS,


Why is extern used in c?

0 Answers  


what is a headerfile?and what will be a program without it explain nan example?

6 Answers   Assurgent,


what is the difference between c and c++?

7 Answers  


What are valid signatures for the Main function?

0 Answers  






i want to have a program to read a string and print the frequency of each character and it should work in turbo c

3 Answers   Persistent, Wipro,


A stack can be implemented only using array?if not what is used?

3 Answers   InterGlobal,


What do you mean by keywords in c?

0 Answers  


what is disadvantage of pointer in C

13 Answers   Tech Mahindra,


what is calloc and malloc?

2 Answers  


What are enums in c?

0 Answers  


what is the different bitween abap and abap-hr?

0 Answers   TCS,


Categories