About 677,000 results
Open links in new tab
  1. Difference between "while" loop and "do while" loop

    Sep 2, 2010 · The most important difference between while and do-while loop is that in do-while, the block of code is executed at least once, even though the condition given is false.

  2. The difference between while and do while C++? [duplicate]

    The while loop will only execute of the conditions are met. Whereas the do while loop will execute the first time without verifying the conditions, not until after initial execution.

  3. c# - 'do...while' vs. 'while' - Stack Overflow

    Jul 28, 2010 · do-while is better if the compiler isn't competent at optimization. do-while has only a single conditional jump, as opposed to for and while which have a conditional jump and an …

  4. java - do-while and while comparison - Stack Overflow

    Nov 18, 2013 · The key difference between do-while and while, with do-while you are guaranteed at least one run of your code before the checks. * It does not need to get anymore complicated …

  5. What's the difference between "Do While" and "While" "Wend" …

    Mar 18, 2019 · I've encountered a a while...wend loop. I'm used to the Do While loop, so I was wondering what the differences were between these two loops. I did some testing (code …

  6. loops - For vs. while in C programming? - Stack Overflow

    A difference between while and do-while is that while checks the loop condition and if this is true, the body is executed and the condition checked again. The do-while checks the condition after …

  7. Whats the difference between do while and while in VB.NET?

    Apr 17, 2013 · What's the difference between Do While where the statement is the first line in the loop block and just the single While in VB.NET? They don't seem to offer any difference in …

  8. Difference between an If statement and While loop

    I read this Manual by PHP.com about While loops. I don't understand the purpose of While loops in PHP. It looks exactly like an if statement to me. What is the difference between an if …

  9. Difference of Do while/Do until in VBscript - Stack Overflow

    Jan 4, 2013 · The question was about the difference between Do While and Do Until, not about the difference between pre-test and post-test loops. In VBScript the Do-Loop structure can be …

  10. javascript - The do-while statement - Stack Overflow

    Apr 8, 2011 · 32 Do / While VS While is a matter of when the condition is checked. A while loop checks the condition, then executes the loop. A Do/While executes the loop and then checks …