🎴 Flashcard Mode

Programming Languages Fundamentals: Python, C, and C++

Card1 / 20
Mastered0
Review0
QuestionClick to flip

Which of the following are storage qualifiers in C++ ?

AnswerClick to flip back
A
All the Above
💡 Explanation:

const, volatile, and mutable are all storage qualifiers (cv-qualifiers) in C++. const indicates the value cannot be modified, volatile tells the compiler the value may change in ways not visible to the compiler (prevents optimization), and mutable allows a member variable to be modified even in a const member function.

Change Mode