Mailinglist Archive: opensuse-programming (118 mails)

< Previous Next >
Re: [suse-programming-e] Programming standards!
  • From: Colin Carter <colincarter@xxxxxxxxxxxxxx>
  • Date: Wed, 20 Apr 2005 19:48:03 +1000
  • Message-id: <200504201948.03829.colincarter@xxxxxxxxxxxxxx>
On Wednesday 20 April 2005 09:39, Philipp Thomas wrote:
> Colin Carter <colincarter@xxxxxxxxxxxxxx> [18 Apr 2005 19:48:20 +1000]:
> >This is what I thought, but because, as you said, some programmers use
> >the symbol NULL as a substitute for an integer zero, I became confused.
>
> That's from the pre-ANSI days, when void and 'void *' didn't exist. The
> C standard defines NULL to be (void *)0.
>
> Philipp

Thanks, I'll keep that definition in mind.
Colin

< Previous Next >
Follow Ups