为什么%d的输出格式可以实现*的功能输出1 3 0,而%f的输出格式不能实现*的功能,求解释,谢谢!
程序代码:#include <stdio.h>
#include <math.h>
int main()
{
float a = 1.0,b = 2.0,c =3.0;
printf("%f %*f %f\n",a,b,c);
int m = 1,n = 2,p = 3;
printf("%d %*d %d",m,n,p);
return 0 ;
}如题,谢谢!









