lint, pointers, 0 (what else?)

Doug Gwyn (VLD/VMB) gwyn at Brl-Vld.ARPA
Sun Feb 10 10:35:44 AEST 1985


We had a language like the one you are asking for.  It was called "B"
and was sufficiently unsatisfactory that "C" was invented to take its
place.

If you really HAVE to have a known integer type into which a pointer
to anything (there is no such thing as just a "pointer" in C) will
fit, then use (unsigned long).  Surely that will be big enough.  The
whole point of "int" is that it best fits the machine word size, not
that it is capable of holding any address.



More information about the Comp.lang.c mailing list