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

若有以下定义和语句 struct a{ int n,m;}; struct a st[3]={{2,3},{4,5},{6,7}}; struct a*p=st;


若有以下定义和语句 struct a{ int n,m;}; struct a st[3]={{2,3},{4,5},{6,7}}; struct a*p=st;则以下错误的引用是A.(p++)->n; B.st[0].n; C.(*p).n; D.P=&st.m,

参考答案
您可能感兴趣的试题
  • 若有结构体定义: struct stu {int num; char sex; int age; }a1,a2; 则下列语句中错误的是()。A.p

  • 若有以下说明和语句 struct student {int age; int num; }std, *p; p=&std; 则以下对结构体变量std

  • 若有以下定义的语句 struct student { int age; int num; }; struct student stu[3]={{1001 20}

  • 若有定义和语句:struct student { int num; char name[10]; float score;} s[5]={{1 lili 98

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

  • 若有以下定义的语句:struct student{ int age; int num;};struct student stu[3]={{1001 20} {10