What is a volatile variable in c++?

Answer Posted / hr@tgksolutions.com

A volatile variable indicates to the compiler that the variable can be changed at any time, preventing optimizations.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c++ an oop?

812


Differentiate between structure and class in c++.

803


What are separators in c++?

821


Is c++ harder than java?

788


Differentiate between a copy constructor and an overloaded assignment operator.

841


Is there a c++ certification?

785


Is map ordered c++?

821


What is an inline function in c++?

846


Explain the difference between new() and malloc() in c++?

846


What is the type of this pointer in c++?

816


Do vectors start at 0 c++?

739


What is a memory leak c++?

773


What is pointer in c++ with example?

767


What are multiple inheritances (virtual inheritance)?

805


What is the difference between strcpy() and strncpy()?

843