D
Dan Pop
In said:On 10 Sep 2003, Dan Pop wrote:
[snip]
1. It exceeds the C89 limit of 509 characters in a string literal
(after concatenation).
But it does not exceed the C99 limit of 4095.
This would make it OK in a newsgroup dedicated to C99, like comp.std.c.
Last time I checked, c.l.c was still dealing with *portable* C
programming.
Not necessarily. The basic execution character set is
implementation-defined.
The members of the basic execution character set are fully specified
by the standard, only their encoding is implementation-defined. Since
your program prints an arbitrary set of values, there is no guarantee
that all the values will correspond to members of the basic
execution character set.
Chapter and verse, please?
Undefined behaviour by lack of specification of behaviour.
Dan