NIELIT O Level Exam

Which switch-case behavior is TRUE?

Which switch-case behavior is TRUE?

Switch-case के बारे में कौन-सा कथन सही है?

A. default executes only if placed last

B. break exits the program

C. switch works with float values

D. Absence of break causes fall-through




Correct Answer is :

D. Absence of break causes fall-through



Explanation
Without break, execution normally continues into subsequent case blocks.

यदि case के बाद break नहीं दिया गया है, तो execution अगले case में भी जारी रह सकता है। इसे fall-through कहते हैं।
Latest Current Affairs 2026 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