Answer:
The answer to the given question is option "d".
Explanation:
In C++ programming language we use the (:) colon to perform inheritance in the class. The by default access modifier is used for inheritance that is "private". In the given options the option d is correct and other options are not correct that cab be described as:
- In option, a, b we use the scope resolution operator (::) that is not used for inheritance.
- In option, c we inherit drive class to base class that is not correct.
That's why the answer to this question is option "d".