题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-12-26 19:57:58

[单项选择]有下列程序段:
struct st
int x;int *y;*pt;
int a[]=1,2,b[]=3,4;
struct st c[2]=10,a,20,b;
pt=c;
下列选项中表达式的值为11的是( )。
A. *pt->y
B. pt->x
C. ++pt->x
D. (pt++)->X

更多"有下列程序段: struct st int x;int *y;*p"的相关试题:

[单项选择]有以下程序段 struct st {int x;int*y;}*pt; int a[]={l,2},b[]={3,4}; struct st C[2]={l0,a,20,b} pt=C; 以下选项中表达式的值为11的是【 】。
A. *pt->Y
B. pt->X
C. ++pt->x
D. (pt++)->X
[单项选择]有以下程序段:
struct st
int x; int * y; * pt;
int a[] = 1,2 ,b[] = 3,4;
struct st c[2] = 10,a,20,b;
pt=c;
以下选项中表达式的值为11的是( )。
A. *pt->y
B. pt->x
C. ++pt->x
D. (pt++)->x
[单项选择]有以下程序段:
struct st
int X;int*Y;*pt;
int a[]=[1,2],b[]=[3,4];
struct st c[2]=[10,a,20,b];
pc=c;
以下选项中表达式的值为11的是( )。
A. *pt->y
B. pt->X
C. ++pt->X
D. (pc++)->X
[单项选择]有下列程序段:
struct St
int x;int *y;)*pt;
int a[]=1,2),b[]=3,4);
struct st c[2]=10,a,20,b);
pt=c;
下列选项中表达式的值为11的是( )。
A. *pt- >y
B. pt- >x
C. + +pt- >x
D. (pt+ +)->x
[单项选择]有下列程序段:

struct st

int x;int*y;*pt;

int a[]=1,2,b[]=3,4;

stmct st c[2]=10,a,20,b;

pt=c;

下列选项中表达式的值为11的是( )。
A. *pt->y
B. pt->x
C. ++pt->x
D. (pt++)->X
[单项选择]有以下程序段: typedef struct NODE {int num; struct NODE *next; }OLD; 以下叙述中正确的是【 】。
A. 以上的说明形式非法
B. NODE是一个结构体类型
C. OLD是一一个结构体类型
D. OLD是一个结构体变量
[单项选择]若有以下程序段:
struct st
int n;
int*m:

int a=2,b=3,c=5;
struct st s[3]=(101,&a,102,&c,103,&b);
main( )
struct st*p;
p=s;

则以下表达式中值为5的是( )。
A. (*p).m
B. *(p+1)->m
C. *(p++)->n
D. (p++)(*m)
[单项选择]有下列程序段:
struct st
intx;int*y;*pt;
int a[]=1,2,b[]=3,4;
struct st c[2]=10,a,20,b;
pt=c;
下列选项中表达式的值为11的是( )。
A. *pt->y
B. pt->x
C. ++pt->x
D. (pt++)->x
[单项选择]若有以下程序段:
struct st
int n;
int*m;;
int a=2,b=3,c=5;
struct st s[3]=(101,&a,102,&c,103,&b;
main( )
struct st*p;
p=s;

则以下表达式中值为5的是( )。
A. (p++)->m
B. *(p++)->m
C. (*p).m
D. *(++p)->m
[单项选择]有以下程序段 typedef struct node{int data;struct node * next;} * NODE; NODE p; 以下叙述中正确的是【 】。
A. p是指向structnode结构变量的指针的指针
B. NODEp;语句出错
C. p是指向structnode结构变量的指针
D. p是structnode结构变量
[单项选择]

有以下程序段:
typedef struct NODE
{int num; struct NODE *next;
}OLD;
以下叙述中正确的是()


A. 以上的说明形式非法
B. NODE是一个结构体类型
C. OLD是一一个结构体类型
D. OLD是一个结构体变量
[单项选择]有以下程序段
typedef struct node(int data; struct node *next;) *NODE;
NODE p;
以下叙述中正确的是______。
A. P是指向struct node结构变量的指针的指针
B. NODE p;语句出错
C. P是指向struct node结构变量的指针
D. P是struct node结构变量
[单项选择]有以下程序段:
typedef struct node(int data;struct node*next;)*NODE;
NODE P;
以下叙述中正确的是______。
A. P是指向struct node结构变量的指针的指针
B. NODE p;语句出错
C. P是指向struct node结构变量的指针
D. P是struct node结构变量
[单项选择]若有如下程序段: struct student { int num;float score; } stu[3]={{10,85},{60,58},{32,23}}; main( ) { struct student*t; t=stu; } 则下面表达式中值为58的是( )。
A. (*.num
B. *(t++)->num
C. (*++score
D. (++->score

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

截图扫码使用小程序[完全免费查看答案]
请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码