单项选择题
有如下函数模板定义: template<typename T1,int a2,int a3> T1 fun(T1 a1) { return(a1+a2+a3); } 则以下调用中正确的是( )。
A.fun<int,4,3>(5);
B.fun<4,3>(5);
C.fun<int,int,int>(5);
D.fun(5);
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
执行下列程序的结果是( )。 #include<iostream.h> void main() { char *str; str= test! ; cout<<str[5]; }
A.test!
B.test
C.空字符
D.异常
点击查看答案&解析
相关试题
有如下程序: #include<iostream> Usi...
有如下程序: #include<iostream> usi...
有如下程序: #include<iostream> usi...
有如下程序: #include<iostream> usi...
B