a);prinff("%d,",(++P)->a);printf("%d\n",++(*P->b)); }/*P->a的值为50,++P->a的值为51;(++p)->a中P自加后指向d[1],因此值为60;(*P->b)为20,自加后为21*/ _ 自考,成考学习,学历提升,考前押密,考前答题,选笔果题库就对了">
阅读下列程序,写出程序运行的输出结果。
struct s{inta;int*b;}*p;
int c[]={10,20,30,40};
stmctsd[]={50,c,60,c+1,70,c+2,80,c+3};
void main()
{p=d;
printf("%d,",++P->a);prinff("%d,",(++P)->a);printf("%d\n",++(*P->b));
}/*P->a的值为50,++P->a的值为51;(++p)->a中P自加后指向d[1],因此值为60;(*P->b)为20,自加后为21*/