单项选择题

下列程序的运行结果为( )。

#deflne MAX(x,y)(x)>(y)(x):(y)

main()

int a=2,b=3,c=1,d=3,t;

printf("%d\n",(MAX(a+b,c+D) )*100);

A) 500
B) 5
C) 4
D) 400
<上一题 目录 下一题>
热门 试题

单项选择题
下列二维数组的说明中,不正确的是( )。
A) float a[][4]=0,1,8,5,9;
B) int a[3][4]
C) #define N 5


float a[N][3]
D) int a[2][9.5];
单项选择题
下面结构体的定义语句中,错误的是( )。
A.struct ordint x;int y;int z;;struct ord a;
B.struct ordint x;int y;int z;struct ord a;
C.struct ordint x;int y;int z;a;
D.structint x;int y;int z;a;
相关试题
  • 有下列程序: #include <stdio.h> m...
  • 下列程序的输出结果是______. #in...
  • 下列程序的输出结果是______。 main...
  • 下列程序的定义语句中,x[1]的初值是 ...
  • 以下程序的输出结果是 。 #include <s...