Solved

Which of the Following Is Correct Syntax to Declare C

Question 27

Multiple Choice

Which of the following is correct syntax to declare C++ class B to be a public base class for derived class D


A) public base class B: class D {/*…*/};
B) class D : public class B {/* … */};
C) class D : public B {/* … */};
D) class B: public D { };
E) None of the above

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions