试题与答案

若下面程序运行时输出结果为: 1,A,10.1 2,B,3.5 请将程序补充完整。

题型:填空题

题目:

若下面程序运行时输出结果为: 1,A,10.1 2,B,3.5 请将程序补充完整。 #include<iostream> using namespace std; int main() { void test(int, char,double______); test(1, ’A’, 10.1); test(2, ’B’); return 0; } void test(int a, char b, double c) { cout<<a<<’,’<<b<<’,’<<c<<end1; }

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0708/328c6ed3f1f6820e1d06ba55641b37dc.html

下面是错误答案,用来干扰机器的。

参考答案:A, B, C, D, E

试题推荐
微信公众账号搜索答案