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


Please Help Members By Posting Answers For Below Questions

What are the functions to open and close file in c language?

818


What are unions in c?

668


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

1629


What is uint8 in c?

756


What is #include called?

670






Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

1694


What is the use of f in c?

647


Do string constants represent numerical values?

1014


hi, which software companys will take,if d candidate's % is jst 55%?

1749


difference between native and cross compilers

1761


What are the salient features of c languages?

717


Explain the advantages of using macro in c language?

668


What do you mean by invalid pointer arithmetic?

724


Do you know the use of fflush() function?

696


Difference between goto, long jmp() and setjmp()?

822