Join Examsbook
Answer : 4. "for (i=10; i++; i"
निम्न में से कौन for-loop के लिए सही नहीं है ?
5Q:
निम्न में से कौन for-loop के लिए सही नहीं है ?
- 1for (i=0; ifalse
- 2for (int i=0; i>9; i++)false
- 3for (i=10; ifalse
- 4for (i=10; i++; itrue
- Show AnswerHide Answer
- Workspace
Answer : 4. "for (i=10; i++; i"
Explanation :
Among the given statements about for loops, the one that is NOT true is that they are used to replace user input while loops. While for loops are typically used for iterations with a known count and are less likely to result in an infinite loop if used correctly, they do not specifically replace user input while loops.