- 54
- 0
- 约7.86千字
- 约 57页
- 2017-06-14 发布于湖北
- 举报
第一章第二章第三章3.11.? 以下正确的函数原型为(? )。? (A)fun1( int x; int y );? (B)void fun1( x, y );? (C)void fun1( int x, y );? (D)void fun1( int, int );?答题:??A.??B.??C.??D.?(已提交)参考答案:D问题解析:2.? 有函数原型int f2(int, int); 以下正确的调用语句是(? )。? (A)int a=fun2(1);? (B)coutfun2(3,4);? (C)int a=fun2(1)+fun(2);? (D)coutfun2(3+4);?答题:??A.??B.??C.??D.?(已提交)参考答案:B问题解析:3.? 有函数原型 void f3(double); 以下正确的调用语句是(? )。? (A)double a=fun3(0.15);? (B)fun3(0.34);? (C)double a=fun3(0.1)+f3(0.2);? (D)coutfun3(3.4);?答题:??A.??B.??C.??D.?(已提交)参考答案:B问题解析:4.? 以下正确的函数定义是(? )。? (A)int fun4(int a, int b) { return a+b; }? (B)void fun4(int a, int b) { ret
原创力文档

文档评论(0)