I compiled the following program with the 4.1bsd C compiler:
main()
{
int i;
i = 100;
i = i * .2;
printf("%d\n", i);
i = 100;
i *= .2;
printf("%d\n", i);
}
I got this output:
20
0
Is this a bug?
--
UUCP: decvax!harpo!seismo!rlgvax!cvl!elsie!ado
DDD: (301) 496-5688