<<< Date Index >>>     <<< Thread Index >>>

Re: Little code cleanup



On 2008-03-08 14:20:47 +0000, Paul Walker wrote:

> Why wouldn't you?

K&R, 2nd Ed, p. 102

        Pointers and integers are not interchangeable.  Zero is the
        sole exception: the constant zero may be assigned to a
        pointer, and a pointer may be compared with the constant zero.

Cheers,
-- 
Thomas Roessler   <roessler@xxxxxxxxxxxxxxxxxx>