请教一个关于强制转换的问题
#include<stdio.h>main()
{
int a=200,b=3000;
long c;
c=(long)a*b;
printf("%ld",c);
getch();
}
与
#include<stdio.h>
main()
{
int a=200,b=3000;
long c;
c=a*b;
printf("%ld",c);
getch();
}
请问为什么后者会数据益出?
偶是出学者
偶是出学者
2007-08-17 18:41
2007-08-17 18:49
2007-08-17 18:54

2007-08-17 18:54
偶也是这样想滴捏
不知道咋回事
编一下好了

2007-08-17 18:55
2007-08-17 18:56
2007-08-17 19:01
2007-08-17 19:08
2007-08-17 19:22
2007-08-17 21:25