Home / Don’t use 0 instead of NULL edit

Linus has spoken: using 0 (instead of NULL) to denote a null pointer is wrong:

char *p = 0;  /* IS WRONG! DAMMIT! *

I concur.

Go to index of articles.

Share on