1411
GB
What is the output: try{stod("3.14");}catch(invalid_argument&){cout<<'I';}catch(...){cout<<'X';} cout<
IN
आउटपुट क्या है: प्रयास करें {stod ("3.14");} पकड़ें (अमान्य_argument &) {cout
A
3.14
3.14
B
I
मैं
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
stod("3.14") succeeds; no catch. cout outputs 3.14. Output: 3.14.
व्याख्या (हिन्दी)
Stod('3.14') सफल होता है; कोई पकड़ नहीं. कॉउट आउटपुट 3.14. आउटपुट: 3.14.