[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fJWIo_OqP6d8BnI85axiC0pSk6__bx3qcVJvpb2O0-Ac":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":31,"type":32},[],"2023-10-26 01:05:43",101613624,[8,9,10,11],"函数一定有返回值,否则无法使用函数","函数既可以嵌套定义又可以递归调用","调用函数时,只能将实参的值传递给形参","程序中有调用关系的所有函数都必须放在同一源程序文件中",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},40,"c5c5a3062dfb9dcaf3eb3d7d43111e72","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F59a69631e211513907104bd11c7edfaa.png","C语言程序设计基础","32b458503482497c9a1fb5523d01af23","第六章 函数","下面对C语言的描述中,正确的是( )",[21,33,42,49,58,67,76,85,94,103],{"answer":22,"createTime":23,"id":24,"options":25,"question":30,"source":31,"type":32},[],"2023-10-26 01:05:41",101613581,[26,27,28,29],"void","double","char","int","在C语言程序中,若对函数类型未加说明,则函数的隐含类型为( )","v1",0,{"answer":34,"createTime":23,"id":35,"options":36,"question":41,"source":31,"type":32},[],101613586,[37,38,39,40],"void play(var a:Integer,var b:Integer)","void play(int a,b)","void play(int a,int b)","void play(int a int b)","以下函数声明中,正确的是( )",{"answer":43,"createTime":23,"id":44,"options":45,"question":48,"source":31,"type":32},[],101613589,[29,46,26,47],"不确定","float","以下函数值的类型是( ). fun(float x) { float y; y=3*x-4; return y; }",{"answer":50,"createTime":23,"id":51,"options":52,"question":57,"source":31,"type":32},[],101613592,[53,54,55,56],"与参数x的类型相同","是void型","是int型","无法确定","若有如下函数: fun(float x) { printf(&quot;%d\\n&quot;,x*x); } 则函数的类型是( )",{"answer":59,"createTime":60,"id":61,"options":62,"question":66,"source":31,"type":32},[],"2023-10-26 01:05:42",101613595,[63,64,63,65],"double fun(int x,int y)","double fun(int x;int y)","double fun(int x,y)","以下函数首部定义形式正确的是( )",{"answer":68,"createTime":60,"id":69,"options":70,"question":75,"source":31,"type":32},[],101613596,[71,72,73,74],"1","2","4","5","下面函数func((exp1,exp2),(exp3,exp4,exp5));调用语句中含有实参的个数为( )",{"answer":77,"createTime":60,"id":78,"options":79,"question":84,"source":31,"type":32},[],101613597,[80,81,82,83],"7 8 9","7 9 11","7 10 13","7 7 7","若有如下程序: int f(int a) { int b=0; static int c=3; b++; c++; return(a+b+c); } int main() { int a=2,i; for(i=0;i&lt;3;i++) printf(&quot;%d\\n&quot;,f(a)); return 0; } 输出结果是( )",{"answer":86,"createTime":60,"id":87,"options":88,"question":93,"source":31,"type":32},[],101613598,[89,90,91,92],"double myadd(double a,b)","double myadd(double,double)","double myadd(double b,double a)","double myadd(double x,double y)","若程序中定义了如下函数: double myadd(double a,double b) { return (a+b); } 将其放在调用语句之后,则在调用之前应该对函数进行说明,以下选项中错误的说明是( )",{"answer":95,"createTime":60,"id":96,"options":97,"question":102,"source":31,"type":32},[],101613601,[98,99,100,101],"C语言中允许定义空函数","空函数是一种错误的函数","空函数既没有函数头,也没有函数体","编程时,空函数没有任何用途","下列说法正确的是( )",{"answer":104,"createTime":60,"id":105,"options":106,"question":111,"source":31,"type":32},[],101613602,[107,108,109,110],"实参可以是常量、变量或表达式","形参可以是常量、变量或表达式","实参可以为任意类型","形参应与其对应的实参类型一致","在C语言中以下不正确的说法是( )"]