单项选择题

下列函数定义中,会出现编译错误的是( )。

A.max(int x,int y,int * { *z=x>yx:y; }
B.int max(int x, { int z; z=x>yx:y; return z; }
C.max(int x,int { int z; z=x>y x:y; return(; }
D.int max(int x,int { return(x>y x:; }
<上一题 目录 下一题>
热门 试题

单项选择题
有定义:int x,y;若要通过scanf( %d,%d ,&x,&y);使变量x得到数值11,变量y得到数值12,下面四组输入形式中,错误的是( )。
A.11 12<回车>
B.11,12<回车>
C.11, 12<回车>
D.11,<回车>12<回车>
单项选择题
以下选项中不能正确把cl定义成结构体变量的是( )。
A.typedef struct { int red; int green; int blue; } COLOR; COLOR cl;
B.struct color cl { int red; int green; int blue; }
C.struct color { int red; int green; int blue; }cl;
D.struct { int red; int green; int blue; }cl;
相关试题
  • 以下程序中函数scmp的功能是返回形参指针s...
  • 以下程序的功能是计算:。 #include <s...
  • 在结构化方法中,软件功能分解属于软件开发...
  • 已定义ch为字符型变量,以下赋值语句中错误...
  • 以下不能正确定义二维数组的选项是( )。