scanf的返回值的问题验证???
# include <stdio.h>void main()
{
int m;
char c;
float f;
printf("请输入整形数据\n");
if(scanf("%d",&m)==1)
printf("scanf函数在输入整形值返回1\n");
printf("请输入字符型数据\n");
m=scanf("%c",&c);
printf("输入字符型的返回值为%d\n",m);
printf("请输入浮点型数据\n");
m=scanf("%f",&f);
printf("输入浮点型的返回值为%d\n",m);
}
验证scanf的返回值的问题,可是运行不通,请各位高手给我指点一下,不胜感激