OA. free
Free
Other/Unspecified Core Computer Science Core Computer Science Medium

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

**

Choose one option.
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.