若有下面的说明和语句则表达式值为31的是() struct wc {inta; Int*b }*p; intx0[]={11,1

若有下面的说明和语句则表达式值为31的是()
struct wc
{inta;
Int*b
}*p;
intx0[]={11,12},x1[]={31,32};
static struct wc x[2]={100,x0,300,x1};
p=x;
A、*P- >b
B、(++P)- >a
C、*(P++)- >b
D、*(++P)- >b
【正确答案】:D
【题目解析】:根据题意x[1].b[0]的值为31,而指针++p指向x[1],所以指针(++p)- >b指向x[1].b[0]。