TOC | Prev | Next

Dereferencing NULL

If you dereference NULL, you crash.

char *p = NULL;
*p = 'x';
TOC | Prev | Next