设有以下程序段: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的表达式为______。

admin2009-02-15  22

问题 设有以下程序段: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

答案8

解析
转载请注明原文地址:https://jikaoti.com/ti/AzK0FFFM
0

最新回复(0)