当前位置: 答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

下面结构体的定义语句中,错误的是A)struct ord {int x;int y;int z;}; struct ord a;B)st


下面结构体的定义语句中,错误的是

A)struct ord {int x;int y;int z;}; struct ord a;

B)struct ord {int x;int y;int z;} struct ord a;

C)struct ord {int x;int y;int z;} a;

D)struct {int x;int y;int z;} a;

请帮忙给出正确答案和分析,谢谢!

参考答案
您可能感兴趣的试题
  • 下面定义窗体级变量a的语句中错误的是A)Dim a%B)Private a%C)Private a As IntegerD)Static a%

  • 设有以下语句:typedefstructS{intg;charh;}T;则下面叙述中正确的是A.可用S定义结构体变量B.可以

  • 下面定义窗体级变量a的语句中错误的是A)Dim a%B)Private a%C)Private a As IntegerD)Static a%

  • 设有以下语句:typedef struct S{ int g; char h; } T;则下面叙述中正确的是()。A.可以用S定义结构

  • 下面结构体的定义语句中 错误的是( )。A.struct ord{int x;int Y;int z;}struct ord a;B.struc

  • 若有以下语句: typedef struct S {int g;char h;}T; 以下叙述中正确的是( )。 A.可用S定义结构