填空题
语句cout<<’\n’还可表示为
【15】
。
【参考答案】
cout<<endl;
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
程序的结果为 【14】 。#include iostream.h 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;cout<<endl;}
点击查看答案&解析
填空题
设置虚基类的目的是 【12】 ,通过 【13】 表示虚基类。
点击查看答案&解析
相关试题
程序#include iostream.h void main(...