当前位置: X题卡 > 所有题目 > 题目详情

设有下列定义:struct sk int m; float x; data,*q;若要使q指向data中的m域,正确的赋值语句是( )。

查看本题答案

你可能感兴趣的试题

q=&data.m;  *q=data.m;  q=(struct sk*)&data.m;  q=(struct sk*)data.m;  
p=&data.n;  *p=data.n;  p=(struct sk*)&data.n;  p=(struct sk*)data.n:  
p=&data.n; *p=data.n;  p=(struct sk*) &data.n; p=(struct sk*)data.n;  
p=&a;  p=data;  p=&data,  *p=data;  
p=&a;  p=data;  p=&data;  *p=data;  
q=&data.m;  *q=data.m;  q=(struct sk*)&data.m;  q=(struct sk*)data.m;  
p=&datn;  *p=datn;  p=(struct sk*)&datn;  p=(struct sk*)datn;  
q=&data.m;  *q=data.m;  q=(struct sk*)&data. m;  q=(struct sk*)data.m;  
q=&data.m;  *q=data.m;  q=(struct sk*)&data.m;  q=(struct sk*)data.m;  
q=&datm;  *q=datm;  q=(struct sk*)&datm;  q=(struct sk*)datm;  
q=&datm;  q=datm;  q=(struct sk*)&datm;  q=(struct sk*)datm;  
p=&data.n;  *p=data.n;  p=(struct sk*)&data.n;  p=(struct sk*)data.n;  
q=&data.m;  *q=data.m;  q=(struct sk*)&data.m;  q=(struct sk*)data.m;  
q=&data.m;  *q=data.m;  q=(struct sk*)&data.m;  q=(struct sk*)data.m;  
P=&data.n;  *P=data.n;  P=(struct sk*)&data.n;  P=(struct sk,)data.n;  
q=&datm;  *q=datm;  q=(struct sk*)&dat m;  q=(struct sk*)datm;  
q=&data.m;  *q=data.m;  q=(struct sk*)&data.m;  q=(struct sk*)data.m;  
p=&datn;  *p=datn;  p=(struct sk*)&datn;  p=(struct sk*)datn:  

热门试题

更多