下列程序的运行结果为 #include template classFF {TT
2024-01-23 139次 计算机二级 反馈错误 加入收藏 正确率 : 100%
题目内容:
[单选题]下列程序的运行结果为
#include
template
class FF
{ TT a 1,a2,a3;
public:
F.F(TT b1,TT b2,TT b3)}al=b1;a2=b2;a3=b3;
TT Sum(){ return al+a2+a3;}
};
void main()
{ FFx(int(1,l),2,3),Y(int (4,2),5,6):
cout <<<
A.6.1 15.2
B.6 15
C.6 15.2
D.6.1 15
本题链接: