Code to explore the working of malloc