weird C behavior

KW Heuer kwh at bentley.UUCP
Tue Mar 25 01:16:16 AEST 1986


In article <3090013 at csd2.UUCP> csd2!dube (Tom Dube) writes:
>The numbers look the same when you print them because
>you are also forcing BIG into an integer with the format %d.  Try
>printing both numbers with %ld.

But if you do, remember to cast the corresponding argument into (long).



More information about the Comp.lang.c mailing list