设有以下程序: struct st{int n;struct st *next;}; static struct st a[3]={5,&a[1],7,&
A.p++->n
B.p->n++
C.(*p).n++
D.++p->n
A.p++->n
B.p->n++
C.(*p).n++
D.++p->n
设有以下程序: struct st{int n;struct st*next;}; static struct st a[3]={5,&a[1],7,&a[2],9,'\0\},*p; p=&a[0];下面其值为6的表达式为______。
A.p++->n
B.p->n++
C.(*p).n++
D.++p->n
设有以下程序段:struct st{int n;struct st *next;};static struct st a[3]={5,&a[1],7,&a[2],9,'\0'),*p;p=&a[0];下面选项中,其值为6的表达式为______。
A.P++->n
B.p->n++
C.(*p).n++
D.++p->n
设有以下程序段
struct MP3
{ char name[20];
char color,
float price;
} std,*ptr;
ptr=&std;
若要引用结构体变量std中的color成员,写法错误的是
A)std.color
B)ptr->color
C)std->color
D)(*ptr.Color
设有以下语句
struct st
{
int n;
struct st *next;
};
static struct st a[3]={5,&a[1],7,&a[2],9,'\0'},*p;
p=&a[0];
则以下表达式的值为6的是( )。
A.p++->n B.p->n++ C.(*p).n++ D.++p->n
设有以下语句 () struct st {int n;struct st * next;}; static struct st a [3]={5,&a [1],7,&a[2],9,'\0'},*p; p=&a[0] 则表达式()的值是6。
A.p+ + ->n
B.p->n + +
C.(* P). n+ +
D.+ +p - >n
设有以下语句: struct st{int n;struct st*next;}; static struct st a[3]={5,&a[1],7,&a[2],9,'\0'},*p; p=&a[0];则表达式的值是6的为______。
A.p++->n
B.p->n++
C.(*p).n++
D.++p->n
A.++p->n
B.(*p).n++
C.p->n++
D.p++ ->n
A.(*pst).p.a
B.(*pst)->p.a
C.pst->p->a
D.pst.p->a
设有以下说明语句 struct st{ int a; float b; char c; }per1; 则下面的叙述中错误的是().
A.struct st是结构体类型名
B.per1是结构体类型名
C.a,b,c都是结构体成员名
D.struct是结构体类型的关键字
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!