单项选择题
以下结构体类型说明和变量定义中正确的是______。
A.typedef struct int n;char c;REC;
REC t1,t2;
B.struct REC;
int n;char c;);
REC t1,t2;
C.typedef struct REC;
int n=0;char c=’A’;t1,t2;
D.struct
int n;char c;REC;
REC t1,t2;
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
下面结构体的定义语句中,错误的是______。
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
点击查看答案&解析
相关试题
有以下程序 #include<stdio.h> main...
有以下程序 #include<stdio.h> main...
有以下程序 #include<stdio.h> main...
有以下程序 #include<stdio.h> main...
以下程序依次把从终端输入的字符存放到f文...