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
Explain how can I write functions that take a variable number of arguments?
What is static function in c?
What is the benefit of using an enum rather than a #define constant?
What is signed and unsigned?
what is event driven software and what is procedural driven software?
How is a structure member accessed?
What is 02d in c?
Explain 'bus error'?
What are 'near' and 'far' pointers?
Explain how can you avoid including a header more than once?
Can a file other than a .h file be included with #include?
What are the different types of errors?
What is abstract data structure in c?
Write a program that accept anumber in words
How can type-insensitive macros be created?