A.inB.withC.atD.of
A.in
B.with
C.at
D.of
第1题
考虑函数原型void fuc(int x,int y=5,char z='*'),下面函数调用不合法的是()。
A.fuc(3);
B.fuc(3,6);
C.fuc(3,'*');
D.fuc(3,6,'*');
第3题
A.float add(int x, int ) ;
B.int add(int x;int y) ;
C.char add(x,y) ;
D.int add(char x[ ][ ]) ;
第4题
在下列选项中,不正确的画数原型格式为()。
A. int Function (int a) ;
B. void Function (char);
c. int Function(a﹡b);
D. void int (double﹡a) ;
第6题
若有以下变量和函数说明: #include<iostream.h> charCh='*'; void sub(int x,int y,char ch,double*Z) { switch(ch) { case'+':*Z=x+y;break; case'-':*Z=x-y;break: case'*':*Z=x*y;break; case'/':*z=x/y;break: } } 以下合法的函数调用语句是()。
A.sub(10,20,Ch,y);
B.sub(1.2+3,2*2,'+',&Z);
C.sub(sub(1,2,'+',&y),sub(3,4'+',&x),'-',&y);
D.sub(a,b,&x,ch);
第7题
A.int BC(int x , int y)
B. void BC(int a , char b)
C. float AA(int a , char b)
D. int BC(int a ,int b=0)
第8题
若有以下变量和函数说明: #include<iostream.h> charCh='*'; void sub (int x,int y,char ch,double*Z) { switch(ch) { case'+':*Z=x+y;break: case'-':*Z=x-y;break: case'*':*Z=x*y; break: case'/':*Z=X/y;break; } } 以下合法的函数调用语句是(
A.sub(10,20,Ch,y);
B.sub(1.2+3,2*2,'+',&Z);
C.sub(sub(1,2,'+',&y),sub(3,4'+',&x),'-',&y);
D.sub(a,b,&x,ch);
第9题
A. float add(int x, int y) ;
B. int add(int x;int y) ;
C. char add(x,y) ;
D. int add(char x[ ] [ ]) ;
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!