c programming style - READ THIS
Doug Gwyn <gwyn>
gwyn at brl-tgr.ARPA
Fri Jul 19 14:02:01 AEST 1985
> 1) The only operation in C that adds an integer to the integer
> with the same bit pattern as a given pointer and produces a
> pointer value with the same bit pattern as the result is
>
> (pointer_type) ((int)pointer + integer_value)
Well, almost.
I'm sure that Guy knows the problem -- I wonder if any of the
people recently showing by their postings on the subject of C
style that they aren't familiar enough with C to pay attention
to can spot the problem. Please don't bother to post your
solution; no prizes are being offered.
More information about the Comp.lang.c
mailing list