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
Are there any problems with performing mathematical operations on different variable types?
What is pointers in c?
Explain output of printf("Hello World"-'A'+'B'); ?
What is the meaning of 2d in c?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
Why is it usually a bad idea to use gets()? Suggest a workaround.
Why double pointer is used in c?
What are the types of arrays in c?
Why do we use int main instead of void main in c?
Explain what does a function declared as pascal do differently?
Why n++ execute faster than n+1 ?
Why do we use main function?
What are pragmas and what are they good for?
How can you check to see whether a symbol is defined?
Why are all header files not declared in every c program?