Pregunta de entrevista de Qualcomm

Describe the volatile?

Respuesta de la entrevista

Anónimo

2 ago 2012

volatile... The word simply means not permanent. If we talk about volatile memory then volatile refers "the data would be lost if power gone"; In variable declaration; It means that this kind of variable gets restored each time the block of code executes. It does not keep its value after finishing the execution of the block.