what is the difference between entry control and exit
control statement?
Answer Posted / 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 View All Answers
Where are some collections of useful code fragments and examples?
Explain output of printf("Hello World"-'A'+'B'); ?
Does c have circular shift operators?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
write a program to print largest number of each row of a 2D array
Can a pointer point to null?
What is #include called?
What is the process to create increment and decrement stamen in c?
Write a code to determine the total number of stops an elevator would take to serve N number of people.
What is stack in c?
In c programming language, how many parameters can be passed to a function ?
How many bytes is a struct in c?
What is the difference between near, far and huge pointers?
What does %c mean in c?
Write a program on swapping (100, 50)