integer value of multi-char constants

Martin Minow minow at mountn.dec.com
Tue Oct 17 22:44:32 AEST 1989


In article <29588 at gumby.mips.COM> lai at mips.COM (David Lai) writes:
>on a mips, vax, and sun the following is true:
>	'\001\377' == '\000\377';
>however on the same machines:
>	'\001\177' != '\000\177';
>The question is: does the above behaviour conform to ANSI C?

Don't know if it conforms, but both are not equal on a Vax/VMS system
running Vax-C.

Martin Minow
minow at thundr.enet.dec.com



More information about the Comp.std.c mailing list