填空题

有如下程序: #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,0, 12, 14,16, 18 }; cout<<total (x); return 0; } 执行上面程序的输出结果是 【13】

【参考答案】

T