Dereferencing a pointer to 0 in C
C does not prohibit dereferencing the null pointer, it merely makes it undefined behavior. If your environment is such that you’re able to dereference a pointer containing the address 0x0, then you should be able to do so. The C language standard says nothing about what will happen when you do so. (In most environments, … Read more