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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is switch in c?

858


What is structure padding and packing in c?

810


main() { printf("hello"); fork(); }

952


Is javascript written in c?

793


Is it fine to write void main () or main () in c?

746


What is the difference between near, far and huge pointers?

832


What is a structure and why it is used?

857


the question is that what you have been doing all these periods (one year gap)

1860


Here is a neat trick for checking whether two strings are equal

794


Simplify the program segment if X = B then C ← true else C ← false

2803


Explain how can type-insensitive macros be created?

786


number of times a digit is present in a number

1790


What is scope rule in c?

834


What are integer variable, floating-point variable and character variable?

865


Explain what does a function declared as pascal do differently?

920