31
GB
What is the output: template T maxOf(T a,T b){return a>b?a:b;} cout<
IN
आउटपुट क्या है: टेम्पलेट T maxOf(T a,T b){return a>b?a:b;} cout
A
72.5
72.5
B
Compile error
संकलन त्रुटि
C
Undefined
अपरिभाषित
D
3 7
3 7
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
maxOf(3,7)=7, maxOf(2.5,1.5)=2.5. Output: 72.5.
व्याख्या (हिन्दी)
maxOf(3,7)=7, maxOf(2.5,1.5)=2.5. आउटपुट: 72.5.