Dave Korn wrote:

Please confirm which of the two outputs is correct and why is there a

difference in the output of two versions of compiler?

Both outputs are "correct".

  No, the standard is entirely unambiguous:

of course, but the behavior of a compiler with a special implementation
dependent switch is not specified by the standard! Switches can do any
amount of violence to the standard you like, the only requirement is
that there be a defined set of switches which gives standard defined
semantics.

Reply via email to