SoftwareOne Interview Question

what is the difference between managed code and unmanaged code?