C语言程序输出结果:%2d,%3.2f,%4.1f 格式化输出
C语言程序段输出结果:int a=1234;\nfloat b=123.456;\ndouble c=12345.54321;\nprintf("%2d,%3.2f,%4.1f",a,b,c);\n\nA.无结果\nB.12, 123.46, 12345.5\nC.1234,123.46,12345.5\nD.1234,123.45, 1234.5\n\n正确答案:C.1234,123.46,12345.5
原文地址: https://www.cveoy.top/t/topic/pn9R 著作权归作者所有。请勿转载和采集!