有以下程序:void main(){int i=10, j=2; printf("%d, %d", i--, --j);} ,执行后输出()
A. 10, 1
B. 10, 2
C. 9, 1
D. 9, 2
有定义: long x = -123456L; 则以下可以正确输出变量 x的语句是()
A. printf("x=%L\n", x);
B. printf("x=%LD\n", x);
C. printf("x=%Ld\n", x);
D. printf("x=%ld\n", x);
有以下程序: void main(){ int a, b = 12345; float c = 123.444; double d = 1234.56789; a=c; printf("%2d, %-2d, %-2.1f, %2.1f\n", a, b, c, d); }执行后输出结果是()
A. 123, -12345, 123.4, 1234.5
B. 12, -12, -123.4, 1234.6
C. 123, 12345, 123.4, 1234.6
D. 45, -23, -23.4, 34.6