Report Bug
Qus : The keyword break cannot be simply used within
Qus कीवर्ड ब्रेक का उपयोग केवल भीतर नहीं किया जा सकता है

A. do-while
B. if-else
C. for
D. while


Solution
B. if-else



Explanation
<p>A break statement terminates execution of the smallest enclosing switch or iteration statement. break will not break out of an if clause, but the nearest loop or switch clause. Also, an if clause is not called a "loop" because it never repeats its contents. The break statement has no use in decison making statements.<br></p>



Report Bug