C语言中长整型的输出格式是否必须是%ld? 我在程序中用%d之后 输出的C值也没有问题 int a=10; long b=21; float c=3.8; printf ("a=%d,b=%d,c=%3.1f\n",a,b,c);这是怎么回事?