46
GB
What is the output: try{throw;}catch(int){cout<<'I';}catch(...){cout<<'A';}
IN
आउटपुट क्या है: प्रयास करें {फेंकें;} पकड़ें (int) {काउट
A
terminate
बर्खास्त
B
A
ए
C
I
मैं
D
Compile error
संकलन त्रुटि
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
throw; without active exception: std::terminate. Output: terminate.
व्याख्या (हिन्दी)
फेंक; सक्रिय अपवाद के बिना: std::समाप्त। आउटपुट: समाप्त करें.