问题 填空题

有如下程序: #include<iostream> using namespace std; template<typename T> T total(T * data) { T s=0; While(* data)s+ = *data + +; return s; } int main(){ int x[]:{2,4,6,8, 10, 12, 14, 16, 18}; cout<<total(x); return 0; } 执行上面程序的输出是 ______。

答案

参考答案:T

多项选择题
单项选择题