Pregunta de entrevista de Qualcomm

What is the difference between volatile and static code?