What is the diffrent between while and do while statement ?
Answer Posted / mahfooz
while(//condition checking)
{//if condition is true go inside loop.and its first check
condition then go inside loop.
}
but in do{
}while(//condition checking)..
it wiil go in loop first and then check condition..
it will go iside loop atleast one time..but in while it
may not go even in single time..
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
How many keywords (reserve words) are in c?
Write a program to check armstrong number in c?
What is the difference between scanf and fscanf?
Is it possible to pass an entire structure to functions?
what is ur strangth & weekness
What is malloc and calloc?
What is a string?
What is #define in c?
largest Of three Number using without if condition?
What does c mean in standard form?
What is the use of c language in real life?
write a c program in such a way that if we enter the today date the output should be next day's date.
hi send me sample aptitude papers of cts?
Explain what is the advantage of a random access file?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list