有下列函数定义:
fun(float h)
printf("%f,%f/n”,h,h*h);
该函数的类型是( )。
A:int类型 B:float类型 C:void类型 D:函数无类型说明,定义有错
现有一个int类型的整数和一个double类型的浮点数,当它们之间做了加法运算之后,得到的结果类型应该是______。
A:int类型 B:double类型 C:long类型 D:float类型
有下列函数定义:
fun(float h)
printf("%f,%f/n",h,h*h);
该函数的类型是( )。
A:int类型 B:float类型 C:void类型 D:函数无类型说明,定义有错
有下列函数定义:
fun(float h)
printf("%f,%f/n",h,h*h);
该函数的类型是( )。
A:int类型 B:float类型 C:void类型 D:函数无类型说明,定义有错
有下列函数定义:
fun(float h)
{ printf("%f,%f/n”,h,h*h);}
该函数的类型是( )。
A:int类型 B:float类型 C:void类型 D:函数无类型说明,定义有错
有下列函数定义: fun(float h) { printf("%f,%f/n",h,h*h);} 该函数的类型是( )。
A:int类型 B:float类型 C:void类型 D:函数无类型说明,定义有错