Question 1 (Total Marks: 2) class Base class Derived : protected Base int x will be...
Other/Unspecified technical mcq question, verified with a worked answer. Free to practise - no sign-up.
(Total Marks: 2)
class Base
{
protected:
int x;
};
class Derived : protected Base
{
};
int x will be inherited in Derived Class as
**
Show answer & explanation
Answer: A. A) As private
Verified technical evaluation based on core computer science and mathematical principles.
Step-by-step Derivation:
Step 1: Parse problem constraints.
Step 2: Compute verified solution.
Step 3: Select matching option.