1
GB
What is the output: template T add(T a,T b){return a+b;} cout<
IN
आउटपुट क्या है: टेम्प्लेट टी ऐड(टी ए,टी बी){रिटर्न ए+बी;} कॉउट
A
7 4
7 4
B
7 4.0
7 4.0
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
add(3,4)=7, add(1.5,2.5)=4.0. Output: 7 4.
व्याख्या (हिन्दी)
जोड़(3,4)=7, जोड़(1.5,2.5)=4.0। आउटपुट: 7 4.