translation phases
Colin Plumb
ccplumb at rose.uwaterloo.ca
Sun Feb 24 15:54:21 AEST 1991
>In article <12696 at darkstar.ucsc.edu> daniel at terra.ucsc.edu (Daniel Edelson) writes:
>>char msg[] = "\\
>>t";
gwyn at smoke.brl.mil (Doug Gwyn) wrote:
> Assuming the ASCII code set, the effect of the initializer is:
> msg[0] = 9;
> msg[1] = 0;
>
> I suspect there are so-called "ANSI C" compilers in existence that
> get this wrong.
Just for the record, gcc gets it right.
--
-Colin
More information about the Comp.std.c
mailing list