单项选择题
下面结构体的定义语句中,错误的是______。
A.struct ordint x;int y;int z;struct ord a;
B.struct ordint x;int y;int z;;struct ord a;
C.struct ord int x;int y;int z;a;
D.streetint x;int y;int z;)a;
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
有以下程序 #include<stdio.h> #define SUB(X,Y)(X+1)*Y main() int a=3,b=4; printf( %d n ,SUB(a++,b++)); 程序运行后的输出结果是______。
A.16
B.20
C.12
D.25
点击查看答案&解析
单项选择题
设有宏定义: #define IsDIV(k,n)((k%n==1)1:0) 且变量m已正确定义并赋值,则宏调用: IsDIV(m,5)&&IsDIV(m,7) 为真时所要表达的是______。
A.判断m被5和7整除是否都余1
B.判断m是否能被5和7整除
C.判断m被5或者7整除是否余1
D.判断m是否能被5或者7整除
点击查看答案&解析
相关试题
有以下程序 #include<stdio.h> main...
有以下程序 #include<stdio.h> main...
有以下程序 #include<stdio.h> main...
有以下程序 #include<stdio.h> main...
以下程序依次把从终端输入的字符存放到f文...