how to make null pointer print 0x0 in c