On Tue, 4 Sep 2012 07:57:17 -0700, Charles Mills wrote: >Just because you *can* create a malformed string with no delimiter does not >mean that my statement about proper C behavior is untrue. > And here, I find myself in rare agreement with John G.'s view (if I understand correctly). A char[] containing no \0 is a perfectly valid array of char. It is not a string, by C's convention, and there is no requirement that a char[] represent a string.
>On Tue, 4 Sep 2012 06:22:43 -0700, Charles Mills wrote: >> >>char[] delimits strings with '\0' in every implementation in the world, I >>think. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN