C Plus Plus Miscellaneous - Study Mode
[#246] What does the mutable keyword in C++ mean when applied to a class member function?
Correct Answer
(D) It allows the member function to modify the object's data members declared as const
[#247] What is the purpose of the static_cast operator in C++?
Correct Answer
(B) To perform explicit type conversions
[#248] What does the nullptr keyword represent in C++?
Correct Answer
(A) A null pointer value
[#249] What is the purpose of the std::move function in C++?
Correct Answer
(D) To cast an object to an rvalue reference
[#250] What is the purpose of the std::initializer_list class in C++?
Correct Answer
(C) To initialize containers with a list of values at compile time