单项选择题

设有下面的定义: struct st {int a; float b; }d; int*p; 要使P指向结构变量d中的a成员,正确的赋值语句是( )。

A.*p=d.a;
B.p=&a;
C.p=d.a;
D.p=&d.a;