Login and Register ×
Check your Email for the OTP
Iterative construct For Loop in Programming Language
⚠ Report ✓ Question Verified Copy Link
for (int i = 0; i < 10;) { cout << i; }
Explanation:
In C++, if the increment or decrement step is missing, the loop will keep running indefinitely because the loop control variable will never change, and the condition will never become false. For example:
Related Topic:
Share Above MCQ
Learn More MCQ Questions from Iterative construct For Loop in Programming Language