[comp.std.c] Interpretation of i=-1

bill@proxftl.UUCP (T. William Wells) (08/20/88)

In article <1124@atari.UUCP> apratt@atari.UUCP (Allan Pratt) writes:
: I wonder about this fragment:
:
: main()
: {
:       int i;
:
:       i=-1;
: }

: What does ANSI say about this? (Sorry, I don't have access to the draft;
: I'm not that involved, I'm afraid.)

The compiler might still deliver a warning, as there is nothing
in the standard that prohibits it from making comments on the
program, but it *must* assign -1 to i or it is not conforming.