Home of RF and Wireless Vendors and Resources

One Stop For Your RF and Wireless Need

volatile vs non volatile

This page on volatile vs non volatile describes difference between volatile and non volatile. This page explains volatile keyword w.r.t. C programming language.


If a variable is declared with volatile keyword in a C program, the variable will have special properties compare to non-volatile variables. Volatile variables are not altered by compiler during optimization run. Hence volatile keyword prevent variable to be optimized.


The volatile keyword is also available in other programming languages such as C++, C# and Java.

It can be declared either before or after the data type such as
volatile int employee_ID; int volatile employee_ID;

RELATED LINKS

C Programming Language tutorial

What is Difference between

difference between FDM and OFDM
Difference between SC-FDMA and OFDM
Difference between SISO and MIMO
Difference between TDD and FDD
Difference between 802.11 standards viz.11-a,11-b,11-g and 11-n
OFDM vs OFDMA
CDMA vs GSM
Bluetooth vs zigbee
Fixed wimax vs mobile

RF and Wireless Terminologies


Share this page

Translate this page