单项选择题

下面程序的输出结果是( )。
#define a 121
const b=12;
enum ca1,a2;
void main()

printf("%d,%d,%d",sizeof(a) ,sizeof(b),sizeof(enum C));

A.121,0,4
B.4,4,4
C.0,2,4
D.0,2,2
<上一题 目录 下一题>
热门 试题

单项选择题
有以下程序: #include<stdio.h> void main() char s[][5]='*','*','','*','*','','','','*','*','','*','*'; int i,j, for(i=0;i<5;i++) for(j=0;______;j++) printf( %c ,s[i][j]); printf( n ); 若输出如下的钻石形平面图,则在程序的下划线处应填入的表达式是( )。 * * * * * * * *
A.j<5
B.j<=5
C.j>5
D.j>=5
单项选择题
有以下程序: #include <stdio.h> #define PT 3,5; #defineS(x) PT*x*x; main() int a=1, b=2; printf( %4.1f n ,S(a+b)); 程序运行后输出的结果是( )。
A.14.0
B.31.5
C.7.5
D.程序有错,无输出结果
相关试题
  • 有以下程序: #include <stdlib.h> ...
  • 有以下程序: struct STU char name[...
  • 以下程序的输出结果是( )。 long fun...