what is the difference between entry control and exit
control statement?
Answer Posted / jimi saha
In Entry controlled loop the test condition is checked first
and if condition is true than the bock 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 then body of loop will be executed again..
| Is This Answer Correct ? | 14 Yes | 15 No |
Post New Answer View All Answers
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
Write a program for finding factorial of a number.
List a few unconditional control statement in c.
In C programming, how do you insert quote characters (‘ and “) into the output screen?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
What are examples of structures?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
write a program to find the given number is prime or not
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Write a c program to demonstrate character and string constants?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
What is the meaning of && in c?
What is variable initialization and why is it important?
How can I remove the trailing spaces from a string?
How can I remove the leading spaces from a string?