Use NULL for null pointer instead of 0 literal