What is the function of the keyword ‘volatile’ in C++?
Answer Posted / nashiinformaticssolutions
A qualifier known as the volatile keyword can be used on a variable to let the compiler know that the value of the variable could change at any time. The primary goal of utilizing volatile is to stop source code optimizations on objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are maps in c++?
Explain stack unwinding.
What is c++ programming language?
Explain explicit container.
How do c++ struct differs from the c++ class?
What is a storage class used in c++?
What is the difference between a definition and a declaration?
Can constructor be static in c++?
Explain about Garbage Collector?
Can a constructor return a value?
Is map thread safe c++?
What are the classes in c++?
What can I safely assume about the initial values of variables which are not explicitly initialized?
How do you define/declare constants in c++?
Explain the scope of resolution operator.