填空题

若有定义:double a[3][5];那么数组a的最后一个元素是 【9】 。

【参考答案】

a[2][4]
<上一题 目录 下一题>
热门 试题

填空题
以下程序的运行结果是 【10】 。 #include<iostream> #include<string> using namespace std; void main() chara[10]= China ,b[]= Chin ,c[]= ese ; cout<<strlen(strcat(strcpy(a,b),c))<<endl;
填空题
以下程序执行后输出的结果是 【11】 。 #include<iostream> using namespace std; int fac(int a,int b) return(b-a)*a; int main() int x=3,y=4,z=5,result; result=fac(fac(x,y),fac(x,z)); cout<<result<<endl; return 0;
相关试题
  • 从实现的角度划分,C++所支持的两种多态...
  • 派生类中的成员不能直接访问基类中的 【1...
  • 在C++中,打开一个文件,就是将这个文件...