单项选择题

下列程序的输出结果是()。
#include <stdio.h>
#define M(x, y) x%y
main()
int a, m=12, n=100;
a=M(n, m);
printf("%d\n", a--);

A、 2
B、 3
C、 4
D、 5

<上一题 目录 下一题>
热门 试题

单项选择题
在C语言中,只有在使用时才占用内存单元的变量,其存储类型是()。

A、 auto和register
B、 extern和register
C、 auto和static
D、 static和register

单项选择题
设有以下说明语句: typedef struct int n; char ch[8]; PER; 则下面叙述中正确的是()。

A、 PER是结构体变量名
B、 PER是结构体类型名
C、 typedef struct是结构体类型
D、 struct是结构体类型名

相关试题
  • 下面程序段的输出为() #include <std...
  • 设有以下说明语句: struct ex int x;...
  • 以下叙述中错误的是()。
  • 以下选项中,能定义s为合法的结构体变量的...
  • 有以下程序: #include <stdio.h> v...