填空题

类模板不同于函数模板,类模板只可用 【14】 型参数。

【参考答案】

类
<上一题 目录 下一题>
热门 试题

填空题
下面程序的结果为 【7】 。#include<iostream.h> void main( ){int a=1,b=2;bool c=1;if((a>b) ||c) cout<< true << end1;elsecout<< false <<end1;}
填空题
下面程序的输出结果是 【9】 。#include < iostream.h>void main( ){int a[6]={1,2,3,4, 5,6};for(int i=0;i<5;i++) cout << a[i]<< ;cout << end1;}
相关试题
  • C++程序是从 【10】 函数开始执行的。
  • 假定A为一个类,则语句A(A &A) ;为该...
  • 下列程序的执行结果为 【15】 。#incl...
  • 派生类构造函数的执行顺序是先执行 【12...