1066
GB
What is the output: template T lerp(T a,T b,double t){return a+(b-a)*t;} cout<
IN
आउटपुट क्या है: टेम्पलेट T lerp(T a,T b,double t){return a+(b-a)*t;} cout
A
5
5
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
0+(10-0)*0.5=5. Output: 5.
व्याख्या (हिन्दी)
0+(10-0)*0.5=5. आउटपुट: 5.