main(){int n1 = 72, n2 = 104;printf(“%d %d\n”, n1, n2);printf(“n1=%d,n2=%d\n”, n1, n2);printf(“n1=%c,n2=%c\n”, n1, n2);}上面程序输出结果为:
A. 65 66n1=65,n2=66n1=A,n2=B
B. 72 104n1=72,n2=104n1=72,n2=104
C. 72 104n1=H,n2=hn1=72,n2=104
D. 72 104n1=72,n2=104n1=H,n2=h
main(){int a = 14;float b = 78.87654321;printf(“a=%d,%3d,%x\n”, a,a,a);printf(“b=%f,%lf,%5.4lf,%e\n”, b,b,b,b);}上面程序输出结果为:
A. a=14, 14,fb=78.876541,78.876541,78.8765,7.887654e+001
B. a=14, 14,eb=78.876541,78.876541,78.87654,7.887654e+001
C. a=14, 14,eb=78.876541,78.876541,78.8765,7.887654e+001
D. a=14,14,eb=78.876541,78.876541,78.8765,7.887654e+001