What is the function of the keyword ‘volatile’ in C++?
Answer / 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 |
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
How the delete operator differs from the delete[]operator?
Is c++ map a hash table?
What are the advantages of pointers?
Explain the differences between list x; & list x();.
Explain abstraction.
Differentiate between structure and class in c++.
Which one is a preferred language C or C++? Why?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create
Which should be more useful: the protected and public virtuals?
Can you please explain the difference between overloading and overriding?
What is DlgProc?