正在加载图片...
The C Programming language Chapter 4 Input and Output 例inta=1234; float f=.456 static char c[=Hello, world printf( %8d,%o-8dn,, a, a) printf( %102f, %0-10.1fn',f,f) printf( %105s,%-10.3sn',c,c); 运行结果:1234,1234 123.46.123.5 Hello. helThe C Programming Language Chapter 4 Input and Output 例 int a=1234; float f=123.456; static char c[]=“Hello,world!”; printf(“%8d,%-8d\n”,a,a); printf(“%10.2f,%-10.1f\n”,f,f); printf(“%10.5s,%-10.3s\n”,c,c); 运行结果: 1234,1234 123.46,123.5 Hello,Hel -
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有