Answer Posted / keerthana
for loop is executed the condition is satified ..the loop
is executed. ex: n=5 ..the loop is 5 times executed..becoz
the condition is true..otherwise loop is exit.
while loop is executed the condition is true..otherwise
after one time..executed until the condition is false..
Is This Answer Correct ? | 15 Yes | 5 No |
Post New Answer View All Answers
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
Tell me about low level programming languages.
What is the difference between functions abs() and fabs()?
Can you mix old-style and new-style function syntax?
What is a program flowchart?
What are keywords c?
What was noalias and what ever happened to it?
How variables are declared in c?
What is the use of c language in real life?
What is preprocessor with example?
What is the total generic pointer type?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
Should I learn c before c++?