Get Started
397

Q:

do-while एवं while condition में क्या अंतर है?

  • 1
    Do-while में condition के बाद सेमीकोलन का उपयोग होता है।
  • 2
    While में सेमीकोलन का उपयोग नहीं होता
  • 3
    While में condition के बाद स्टेटमेंट होता है
  • 4
    उपर्युक्त में से कोई नहीं
  • Show Answer
  • Workspace

Answer : 4. "उपर्युक्त में से कोई नहीं"
Explanation :

The key difference lies in when the loop condition is checked. In the while loop, the condition is checked before the first iteration, potentially resulting in zero iterations. In the do-while loop, the condition is checked after the first iteration, ensuring that the loop body is executed at least once.

The Most Comprehensive Exam Preparation Platform

Get the Examsbook Prep App Today