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

How can you increase the size of a dynamically allocated array?

949


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

829


How can I copy just a portion of a string?

1101


What are derived data types in c?

848


Write the control statements in C language

906


What is pointers in c with example?

834


What is the process to create increment and decrement stamen in c?

833


The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

1019


Explain what is the advantage of a random access file?

924


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

859


Do you know the purpose of 'register' keyword?

847


Explain about the constants which help in debugging?

1124


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1520


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

839


Can you please explain the difference between malloc() and calloc() function?

899