Pergunta de entrevista da empresa NVIDIA

In a below program statement int x = 3; will 3 be fetched into the cache after executing the above line of code?

Respostas da entrevista

Sigiloso

10 de jan. de 2012

x will be in registers, not in the cache.

Sigiloso

15 de set. de 2011

Dont knw the answer to this but i guess it depends on the architecture. I answered that it will be fetched.