From which memory does the compiler revert to if a variable is declared volatile?

Hương Trang

New member
From which memory does the compiler revert to if a variable is declared volatile?
A. RAM
B. Storage Register
C. ROM
D. EEPROM
 
Answer: A
Explanation: ‘volatile’ is a directive to the compiler. It makes the compiler load the variable from the Random-Access Memory instead of the storage register. It is also called a variable qualifier. It can be used if exactly precise values are to be stored.
 

Tìm kiếm

Back
Top