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

有以下程序段struct st{int x;int *y;)*pt;int a[]={l 2} b[]={3 4};struct st c[2]={10 a


有以下程序段

struct st

{int x;int *y;)*pt;

int a[]={l,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

参考答案
您可能感兴趣的试题
  • 以下程序的输出结果是 include struct st { int x;int *y;}*p; int dt[4]={10,2

  • 以下程序的输出结果是 include struct st { int x;int *y;}*p; int dt[4]={10,2

  • 有以下程序#include <stdio.h>struct st{int x, y, z;} data[2]={3,10,2,20,15,7};main(){

  • 下面程序的输出结果为()。struct st { int x; int*y; } *p; int dt[4]={10,20,30,40}; struct st

  • 有以下程序:struct s{ int x,y; }data[2]={10,100,20,200};main(){ struct s *p=data;printf("%d

  • 若有以下程序段:struct st{int n;int*m:};int a=2 b=3 c=5;struct st s[3]=({101 &a} {102 &