A-A+

已知程序中已经定义了函数test 其原型是int test (int int int); 则

2022-08-06 01:25:39 问答库 阅读 174 次

问题详情

已知程序中已经定义了函数test,其原型是int test (int,int,int);,则下列重载形式中正确的是()。
A.char test(int, int, int);
B.double test (int,int,double);
C.int test(int ,int, int=0);
D.float test(int,int,float=3.5F);请帮忙给出正确答案和分析,谢谢!

参考答案

正确答案:B

考点:原型,函数