Possible C compiler bug on 8086 machines

Doug Gwyn gwyn at smoke.brl.mil
Sun Jan 13 13:21:42 AEST 1991


In article <3577 at bruce.cs.monash.OZ.AU> alanf at bruce.cs.monash.OZ.AU (Alan Grant Finlay) writes:
>   printf("This doesn't work : %d, %d\n",65536/512,512);

Of course it doesn't work, you're trying to print a long int using a %d
format specification!



More information about the Comp.lang.c mailing list