Array initialization question

Doug Gwyn gwyn at smoke.brl.mil
Wed May 15 05:35:33 AEST 1991


In article <43075 at netnews.upenn.edu> carey at eniac.seas.upenn.edu (Robert Carey) writes:
-defining a multidimensional array of char I initialize a row using a
-string which is one character longer than the row (admittedly a bad
-thing to be doing - it was an accident), it inserts all the values up
-to and not including the NUL byte, and does not issue a warning.

That's exactly what it is supposed to do.



More information about the Comp.lang.c mailing list