121
GB
What is the output: template struct Add1{using type=T;}; template<> struct Add1{using type=long;}; template<> struct Add1{using type=long long;}; cout<::type,long><::type,char>;
IN
आउटपुट क्या है: टेम्पलेट struct Add1{using type=T;}; टेम्प्लेट संरचना Add1{उपयोग प्रकार=लंबा;}; टेम्प्लेट संरचना Add1{उपयोग प्रकार=लंबा लंबा;}; अदालत
A
11
11
B
10
10
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
Add1=long=1; Add1=char=1. Output: 11.
व्याख्या (हिन्दी)
जोड़ें1=लंबा=1; जोड़ें1=चार=1. आउटपुट: 11.