3 ms·
You could argue that a null pointer would be a correct pointer, since you are not allowed to dereference it anyway (since there is no data to access). It will
by meuk 8y ago
You could argue that a null pointer would be a correct pointer, since you are not allowed to dereference it anyway (since there is no data to access).
It will probably break some assertions and assumptions though. Edit: I see that 8xde0wcNwpslOw (what a username) made the same point already.