1861
GB
What is the output: try{try{throw string("inner");}catch(int){cout<<'I';}}catch(string& s){cout<
IN
आउटपुट क्या है: प्रयास करें {कोशिश करें स्ट्रिंग फेंकें ("आंतरिक");} पकड़ें (int) {cout
A
inner
आंतरिक
B
I
मैं
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
string thrown; inner catches int (no match); outer catches string. Output: inner.
व्याख्या (हिन्दी)
तार फेंका गया; आंतरिक कैच int (कोई मिलान नहीं); बाहरी कैच स्ट्रिंग. आउटपुट: आंतरिक.