Question of Ignorance

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Fri May 10 12:11:34 AEST 1985


Alcyon is all wet.  If they support comparison of pointers with
integers, they should convert one to the other type before
comparison, which does NOT involve multiplying anything by
sizeof (*pointer).  However, officially the only integer you
are allowed to compare against a pointer is the constant 0.



More information about the Comp.lang.c mailing list