Pergunta de entrevista da empresa Uber

What does the volatile keyword do?

Resposta da entrevista

Sigiloso

27 de set. de 2018

It forces the compiler to not optimize a variable and to always read it from memory.