571
GB
The output of: int a=2; switch(a){case 1: case 2: cout<<"1or2"; break; case 3: cout<<"3";}
IN
का आउटपुट: int a=2; स्विच(ए){केस 1: केस 2: कॉउट
A
1or2
1 ओर 2
B
2
2
C
3
3
D
Error
गलती
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
case 2 falls through from case 1 label; matches case 2, outputs 1or2.
व्याख्या (हिन्दी)
केस 2, केस 1 लेबल से गिरता है; केस 2 से मेल खाता है, आउटपुट 1or2।