单项选择题
以下结构体类型说明和变量定义中正确的是______。
A) typedef struct
B) struct REC;
int n;char c;REC;
int n;char c;;
REC t1,t2;
REC t1,t2;
C) typedef struct REC;
D) struct
int n=0;char c='A';t1,t2;
int n;char c;REC;
REC t1,t2;
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
若程序有宏定义:#define N 100则以下叙述中正确的是______。
A) 宏定义中定义了标识符N的值为整数100
B) 在编译程序对C源程序进行预处理时用100替换标识符N
C) 对C源程序进行编译时用100替换标识符N
D) 在运行时用100替换标识符N
点击查看答案&解析
单项选择题
以下程序运行后的输出结果是 #include<stdio.h> struct st int x,y; data[2]=1,10,2,20; main( ) struet st *p=data; printf( %d, ,p->y);printf( %d n ,(++p)->x);
A) 10,1
B) 20,1
C) 10,2
D) 20,2
点击查看答案&解析
相关试题
有以下程序: #include <stdio.h> m...
以下叙述中错误的是()。
设有如下说明 typedef struct ST long...
在位运算中,操作数每右移两位,其结果相当...
以下结构体类型说明和变量定义中正确的是_...