scanf %x allows leading 0x?!?

Doug Gwyn gwyn at smoke.brl.mil
Sun May 12 13:33:04 AEST 1991


In article <725 at taumet.com> steve at taumet.com (Stephen Clamage) writes:
>It is the explicitly-specified behavior in ANSI C.  On systems which
>do not follow the ANSI standard, you may get different behavior.

Larry knows that, he just didn't remember voting on it.
I recall (vaguely) that it was a deliberate decision.



More information about the Comp.std.c mailing list