单项选择题

若有说明语句:double *p,a;则能通过scanf语句正确给输入项读入数据的程序段是 ( )。

A.*p=&a;scanf("%1f",;
B.*p=&a;scanf("%f",;
C.p=&a;scanf("%1f",*;
D.p=&a;scanf("%1f",;