106
GB
What is the output: template T dotProduct(vectora,vectorb){return inner_product(a.begin(),a.end(),b.begin(),T{});} cout<({1,2,3},{4,5,6});
IN
आउटपुट क्या है: टेम्पलेट T dotProduct(vectora,vectorb){return inside_product(a.begin(),a.end(),b.begin(),T{});} cout
A
32
32
B
15
15
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
1*4+2*5+3*6=32. Output: 32.
व्याख्या (हिन्दी)
1*4+2*5+3*6=32. आउटपुट: 32.