Qualcomm Interview Question

Describe the volatile?

Interview Answer

Anonymous

Aug 2, 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.