NIELIT O Level Exam

What is the purpose of an else block in loops?

What is the purpose of an else block in loops?

लूप्स में else ब्लॉक का पर्पज़ क्या है?

A. To execute if the loop terminates normally without a break. यदि लूप बिना किसी ब्रेक के सामान्य रूप से टर्मिनेट हो जाता है तो एक्सक्यूट करने के लिए।

B. To execute after every iteration.. प्रत्येक इट्रेशन के बाद एक्सक्यूट करने के लिए..

C. To handle errors in the loop. लूप में एरर को हैंडल करने के लिए.

D. To terminate the loop. लूप को टर्मिनेट करने के लिए.




Correct Answer is :

A. To execute if the loop terminates normally without a break.



Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad