單項選擇題若定義x為double型變量,則能正確輸入x值的語句是()。

A.scanf(“%f”,x);
B.scanf(“%f”,&x);
C.scanf(“%lf”,&x);
D.scanf(“%5.1f”,&x);


您可能感興趣的試卷