Using Macros

Karl Heuer karl at haddock.ima.isc.com
Mon Aug 13 12:35:00 AEST 1990


In article <1316 at rlgvax.UUCP> scc at rlgvax.OPCR.ICL.COM (Stephen Carlson) writes:
>Although this works (a #define with 0 arguments) with every preprocessor I've
>ever used, is there any official sanction for this construct?

Certainly; `getchar()' is the classic example.  ANSI explicitly allows it too.

Karl W. Z. Heuer (karl at kelp.ima.isc.com or ima!kelp!karl), The Walking Lint



More information about the Comp.lang.c mailing list