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
What do you know about the use of bit field?
What is 'bus error'?
how to construct a simulator keeping the logical boolean gates in c
What is the code for 3 questions and answer check in VisualBasic.Net?
If the size of int data type is two bytes, what is the range of signed int data type?
hi any body pls give me company name interview conduct "c" language only
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
What is the acronym for ansi?
Explain what is the difference between null and nul?
What is the purpose of main( ) in c language?
Explain b+ tree?
In a switch statement, explain what will happen if a break statement is omitted?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
Explain what are the advantages and disadvantages of a heap?
What are the advantages and disadvantages of pointers?