Atos-Syntel interview question

What is difference between managed and unmanaged code?