以下函数值的类型是()fun(floatx){floaty;y=3*x-4;returny;}
int
举一反三
- 以下函数值的类型是fun(floatx){floaty;y=3*x-4;returny;}
- 中国大学MOOC: 以下函数值的类型是()fun(floatx){floaty;y=3*x-4;returny;}
- 有函数fun ( float x ) { float y; y= 3*x-4; return y; },其函数值的类型是( )
- 中国大学MOOC: 以下函数值的类型是( )。fun (float x){ float y; y= 3*x-4; return y;}
- 下列函数值的类型是_______________。fun(float x){ float y; y=3*x-4; return y; }
内容
- 0
以下函数值的返回值类型是( )。 fun(float x) float y; y=3*x-4; return y; A: int B: 不确定 C: void D: float
- 1
fun函数的返回值的类型是 。 fun ( float x ){ float y;y=3*x-4;return y;} A: int B: 不确定 C: void D: float
- 2
下述函数中,定义正确的是 ____。 A: floatf(floatx;floaty)<br>{returnx*y;} B: floatf(floatx,y)<br>{returnx*y;} C: floatf(floatx,floaty);<br>{returnx*y;} D: floatf(floatx,floaty)<br>{returnx*y;}
- 3
读下列程序,写出运行结果#include[stdio.h]Int fun(int x){ inty; if(x==0||x==1)return(3); y=x*x-fun(x-2) returny;}main(){ int x,y; x=fun(3); y=fun(4); printf("%d, %d\n", x ,y);}
- 4
以下函数返回值的数据类型是。 int fun(float x) { float y; y=3*x-4; return y; } A: int B: float C: void D: 不确定