MSC 5.1 bug ??

Onno van der Linden linden at fwi.uva.nl
Wed Feb 21 04:27:53 AEST 1990


Was my brain working OK when I saw the program below,after compiling
with Microsoft C 5.1,produce "Yes" as its output??

main()
{
	int	i = 0;
	long	l = -1;

	if (l >= (i&1)) puts("Yes");
	else puts("No");
}

Onno van der Linden
linden at fwi.uva.nl



More information about the Comp.lang.c mailing list