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
Why is not a pointer null after calling free?
What is structure pointer in c?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
What is the difference between declaring a variable by constant keyword and #define ing that variable?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
How can you draw circles in C?
Why do we need volatile in c?
Explain what is meant by high-order and low-order bytes?
What are file streams?
What is typedf?
What is a constant and types of constants in c?
write a program to create a sparse matrix using dynamic memory allocation.
What is hashing in c?
c language interview questions & answer