"do ... while ((NULL + 1) - 1);" -- valid C?

Doug Gwyn gwyn at smoke.BRL.MIL
Sat Aug 19 07:52:53 AEST 1989


In article <597 at targon.UUCP> ruud at targon.UUCP (Ruud Harmsen) writes:
>Is a "ip = cp" guaranteed safe under these conditions, so can I ignore
>the compiler-warning?

If you use a cast it is.



More information about the Comp.lang.c mailing list