Null pointers

Paul Schauble Schauble at MIT-MULTICS.ARPA
Mon Feb 11 15:55:31 AEST 1985


I though I understood the subject before the recent flurry of traffic,
but now I'm not so sure.  If I may submit a quick summary:

      if (pointer)
  and
      pointer = 0;

ARE guaranteed by the language spec to work.

      function(0)
      ....
      int function(x)
      int *x;

is NOT.

Correct??

          Paul



More information about the Comp.lang.c mailing list