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
Are pointers really faster than arrays?
What is const and volatile in c?
Do you know the purpose of 'register' keyword?
Can the curly brackets { } be used to enclose a single line of code?
What is a lvalue
What's the best way of making my program efficient?
How do you determine the length of a string value that was stored in a variable?
what is use of malloc and calloc?
Explain how do you list a file’s date and time?
What is a pragma?
What does the c preprocessor do?
Are there constructors in c?
#include
What is %s and %d in c?
explain how do you use macro?