Q

Emertxe-News & Blog

Home » C programming » Volatile Demystified
Volatile Demystified
Volatile Qualifier in C language

Volatile Qualifier in C language, which is applied to a variable when it is declared. It is used extensively while writing programs for embedded systems, especially when dealing with hardware. Most often, Volatile variable usage stumps an embedded system programmer with unexpected outputs. What makes Volatile variables different? What are its instructions to the compiler? It tells the compiler that the value of the variable may change at any time during the execution of the code without the knowledge of the compiler. If proper precautions are not taken, the desired output may not be achieved. A variable should be declared volatile whenever its value may change unexpectedly.

Written by one of our mentors, January 2015 edition of Open Source For You (OSFY) is having an article titled ‘Volatile Demystified’ got published. Here is the URL to download the complete PDF version of the article:

https://www.emertxe.com/content/osfy_jan_2015_satya_volatile.pdf

YOU MAY ALSO LIKE

Emertxe’s Online Training Programs in Embedded Systems & IoT

Emertxe’s Online Training Programs in Embedded Systems & IoT

The reason why Emertxe is the best choice for career advancement: eLearning and Online training programs are the way forward in the COVID-19 disrupted world. Riding along the digital revolution will ensure engineers are future-ready with skills to not only secure but...

Our Training Programs for Freshers

Our Training Programs for Freshers

Introduction: Emertxe is the leading training institute in Bangalore for Embedded Systems and IoT domains. It is a pioneer in training freshers since 2003 by providing excellent placement opportunities for freshers. Over the years 70000+ students have made their...

Q