Computer Science · Control Statements
C में 'while' और 'do-while' लूप के कार्य करने में मुख्य अंतर क्या है?
- 1एक 'while' लूप लूप बॉडी को निष्पादित करने से पहले स्थिति (condition) का मूल्यांकन करता है, जबकि 'do-while' लूप लूप बॉडी को निष्पादित करने के बाद स्थिति का मूल्यांकन करता है।✓
- 2एक 'do-while' लूप हमेशा 'while' लूप से तेज़ होता है।
- 3एक 'while' लूप कम से कम एक बार निष्पादित होता है, जबकि 'do-while' लूप बिल्कुल भी निष्पादित नहीं हो सकता है।
- 4एक 'while' लूप में break कथन नहीं हो सकता, लेकिन 'do-while' लूप में हो सकता है।
सही उत्तर देखें
एक 'while' लूप लूप बॉडी को निष्पादित करने से पहले स्थिति (condition) का मूल्यांकन करता है, जबकि 'do-while' लूप लूप बॉडी को निष्पादित करने के बाद स्थिति का मूल्यांकन करता है।
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length Computer Science mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Control Statements?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Control Statements