【简答题】下列程序的输出结果是【 】 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(...
【简答题】下列程序的输出结果是【 】 include<iostream> using namespace std; int &qetVar(int *pint) { renurn *pint; } int main () { int a =10; getVar(&a) = 20; cout<<a<<end1; return 0; }