cv qualifier in c

The volatile is a fascinating keyword that makes many people confuse.The volatile keyword is a type qualifier that prevents the objects from the compiler optimization.According to C standard, an object that has volatile-qualified type may be modified in ways unknown to the implementation or have other unknown side effects.You can also say that the value…