以下函数值的类型是fun ( float x ){ float y;y= 3*x-4;return y;}

来源:学生作业帮助网 编辑:六六作业网 时间:2024/10/05 14:53:12
以下函数值的类型是fun(floatx){floaty;y=3*x-4;returny;}以下函数值的类型是fun(floatx){floaty;y=3*x-4;returny;}以下函数值的类型是f

以下函数值的类型是fun ( float x ){ float y;y= 3*x-4;return y;}
以下函数值的类型是
fun ( float x )
{ float y;
y= 3*x-4;
return y;
}

以下函数值的类型是fun ( float x ){ float y;y= 3*x-4;return y;}
函数返回值缺省时,默认是int