题目:日记笔以下结构体类型说明和变量定义中正确的是( ):
A、typedef struct {int n; char c;} REC; REC x,y;
B、struct REC; {int n; char c;}; REC x,y;
C、typedef struct REC ; {int n=0; char c=’A’; } x,y;
D、struct {int n; char c; } REC x,y;
参考答案:A
版权声明
声明:有的资源均来自网络转载,版权归原作者所有,如有侵犯到您的权益
请联系本站我们将配合处理!