NVIDIA Interview Question

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

Interview Answers

Anonymous

Jan 10, 2012

x will be in registers, not in the cache.

Anonymous

Sep 15, 2011

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