Pergunta de entrevista da empresa Qualcomm

What is the difference between volatile and static code?