Pregunta de entrevista de Cognizant

Difference between compiler and interpreter