Subj : Re: Non-strictly-conforming and unspecified versus undefined behavior To : comp.programming.threads,comp.std.c From : David Hopwood Date : Fri Feb 18 2005 08:16 pm Richard Bos wrote: > David Hopwood wrote: >>David Hopwood wrote: >> >>> puts(((char) -1) < 0 ? "char is signed" : "char is unsigned"); >> >>[...] >> >>> puts(((char) -1) < 0 ? "char is unsigned" : "char is signed"); >> >>All these strings should have had \n at the end. > > With puts()? Why? You're right. Put it down to posting with insufficient sleep. The original version was correct. -- David Hopwood .