单项选择题

设有C语句:struct T{int n;double x;}d,*p;,若要使p指向结构体变量中的成员n,正确的赋值语句是()

A.p=&d.n
B.*p=d.n
C.p=(struct T *)&d.n
D.p=(struct T *)d.n