[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fcsWWPtvHfwrVeW5C2UstuvgsJIUgQ6nAfit_W3cr1_M":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":11,"question":18,"related":19,"source":29,"type":30},[],"2024-03-18 23:46:42",134613311,[8,9,8,10],"double fun(int x,int y)","double fun(int x;int y)","double fun(int x,y)",{"count":12,"courseId":13,"courseImg":14,"courseName":15,"workId":16,"workName":17},40,"24675618527969466184ec54fea9fee6","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F48eba3395437dd881b1b9275a0ad1028.png","C语言程序设计","1476e0870fa54542b746b51b7f4ac714","第六章 函数","以下函数首部定义形式正确的是( )",[20,31,40,47,56,59,68,78,87,96],{"answer":21,"createTime":5,"id":22,"options":23,"question":28,"source":29,"type":30},[],134613306,[24,25,26,27],"void","double","char","int","在C语言程序中,若对函数类型未加说明,则函数的隐含类型为( )","v1",0,{"answer":32,"createTime":5,"id":33,"options":34,"question":39,"source":29,"type":30},[],134613308,[35,36,37,38],"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":41,"createTime":5,"id":42,"options":43,"question":46,"source":29,"type":30},[],134613309,[27,44,24,45],"不确定","float","以下函数值的类型是( ). fun(float x) { float y; y=3*x-4; return y; }",{"answer":48,"createTime":5,"id":49,"options":50,"question":55,"source":29,"type":30},[],134613310,[51,52,53,54],"与参数x的类型相同","是void型","是int型","无法确定","若有如下函数: fun(float x) { printf(&quot;%d\\n&quot;,x*x); } 则函数的类型是( )",{"answer":57,"createTime":5,"id":6,"options":58,"question":18,"source":29,"type":30},[],[8,9,8,10],{"answer":60,"createTime":5,"id":61,"options":62,"question":67,"source":29,"type":30},[],134613312,[63,64,65,66],"1","2","4","5","下面函数func((exp1,exp2),(exp3,exp4,exp5));调用语句中含有实参的个数为( )",{"answer":69,"createTime":70,"id":71,"options":72,"question":77,"source":29,"type":30},[],"2024-03-18 23:46:43",134613313,[73,74,75,76],"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":79,"createTime":70,"id":80,"options":81,"question":86,"source":29,"type":30},[],134613314,[82,83,84,85],"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":88,"createTime":70,"id":89,"options":90,"question":95,"source":29,"type":30},[],134613315,[91,92,93,94],"C语言中允许定义空函数","空函数是一种错误的函数","空函数既没有函数头,也没有函数体","编程时,空函数没有任何用途","下列说法正确的是( )",{"answer":97,"createTime":70,"id":98,"options":99,"question":104,"source":29,"type":30},[],134613316,[100,101,102,103],"实参可以是常量、变量或表达式","形参可以是常量、变量或表达式","实参可以为任意类型","形参应与其对应的实参类型一致","在C语言中以下不正确的说法是( )"]