|
The important thing to remember is that a pointer value of zero is required to be interpreted by the compiler as NULL, even if the actual value of NULL is not zero in some particular implementation, and that a dereferenced NULL pointer should not access valid memory. At least, that's what my feeble brain is dredging up, right now. We can hope that Grumpy weighs in here, and not the turkey that says, "pointers don't have values." The concept of the NULL pointer is so esoteric that I don't really cover it in great detail in my tutorial.
|