What is the diffrent between while and do while statement ?
Answer Posted / namrata
In while first condition is checked if condition is not true
then while don't work and not give output but in do while
loop condition is checked when loop is worked at one time
and if the condition is not true then at least one time it
gives output it is the main difference between while & do
while loop.
| Is This Answer Correct ? | 20 Yes | 2 No |
Post New Answer View All Answers
Find MAXIMUM of three distinct integers using a single C statement
How can my program discover the complete pathname to the executable from which it was invoked?
What is the difference between far and near ?
What is the purpose of sprintf?
Why c is a mother language?
Explain the use of 'auto' keyword in c programming?
What is 'bus error'?
Explain what is the difference between a string and an array?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What is difference between static and global variable in c?
What is a header file?
Is it better to bitshift a value than to multiply by 2?
What does c mean in standard form?
Explain b+ tree?
Explain how can you determine the size of an allocated portion of memory?