单项选择题

若有定义语句:double x, y,*px,*py; 执行了px=&x; py=&y;之后,正确的输入语句是(  )。

A.scanf("%lf %lf", px, py);
B.scanf("%f %f" &x, &y);
C.scanf("%f %f", x, y);
D.scanf("%lf %lf",x, y);