程序片段: double x = 9.876; int n = 42; printf("x=%.1f n=%03d", x, n); 输出结果是? A. x=9.9 n=042 B. x=9.876 n=42 C. x=9.9 n=42 D. x=10.0 n=042