单项选择题
下列是模板声明的开始部分,其中正确的是
A.template<T>
B.template<classT1,T2>
C.template<classT1,classT2>
D.template<classT1;classT2>
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
已知枚举类型定义语句为: enum TokenNAME,NUMBER,PLUS=5,MINUS,PRINT=10); 则下列叙述中错误的是
A.枚举常量NAME的值为1
B.枚举常量NUMBER的值为1
C.枚举常量MINUS的值为6
D.枚举常量PRINT的值为10
点击查看答案&解析
单项选择题
已知:intn=10;那么下列语句中错误的是
A.int*p=new long[n];
B.int p[n];
C.int*p=new long(n);
D.int p[10];
点击查看答案&解析
相关试题
有以下程序: #include <iostream> u...
已知int DBL(int n)return n+n;和lo...
有以下程序 #include <iostream> usi...
执行语句序列 int x=10,&r=x; co...
下列程序的输出结果为 Object id=0 Ob...