How To Manage Memory In C