我是一个刚学C的新手,想问个问题。麻烦大家为我解答!
程序代码:
main() {int a=5,b=7; float x=67.8564,y=-789.124; char c='A'; long n=1234567; unsigned u=65535; printf("%d%d\n",a,b); printf("%3d%3d\d",a,d); printf("%f,%f\n",x,y); printf("%-10f,%-10f\n,x,y"); printf("%8.2f,%8.2f,%.4f,%.4f%,3f,%3f\n",x,y,x,y,x,y); printf("%e,%10.2e,\n",x,y); printf("%c,%d,%o%x\n",c,c,c); printf("%ld,%lo<%x\n",n,n,n); printf("%u,%o,%x,%d\n",u,u,u,u)); printf("%s,%5.3s\n","COMPUTER","COMPUTER"); } 写出上面程序的输出结果:(请帮忙解析一下可以么?)