@Paul McKenzie

Sir, I don't think we require cast to malloc in "C".