Macros in ANSI C

Henry Spencer henry at zoo.toronto.edu
Tue Mar 5 09:34:36 AEST 1991


In article <1172 at intelisc.isc.intel.com> mojy at iSC.intel.com (Mojy Mirashrafi) writes:
>#define conv(s) 's'
>
>In ANSI C the "'" prevents evaluation of the enclosed characters.
>The above macro will expand to: 's'. Is there a way to escape the "'"s, in ANSI
>C?

No.
-- 
"But this *is* the simplified version   | Henry Spencer @ U of Toronto Zoology
for the general public."     -S. Harris |  henry at zoo.toronto.edu  utzoo!henry



More information about the Comp.lang.c mailing list