null pointer example to show reading from location zero is not permitted