Correct Answer: Classes may have member functions; structs are private.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C++ Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C++ MCQ Questions
What is an lvalue?
What does auto type specifier do in this line of code (since C++11)? auto x = 4000.22;
A class template is a _?
What is the ternary operator equivalent to this code snippet? if(x) y=a; else y=b;
What is the meaning of the two parts specified between parentheses in a range-based for loop, separated by a colon?
What is the time complexity of delete the first variable in a deque object (e.g., deque<int> a;)?
What is a virtual function in C++?
What does the 'explicit' keyword do?
int *array = new int[10]; delete array;
Which C++ keyword allows the compiler to determine the type of a variable by the value used to initialized it?