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

c) ```
class D : public B {/* … */};
```

Computer Science & Information Technology

You might also like to view...

Which of the following types of memory is non-volatile?

A) ROM B) Cache memory C) RAM D) CMOS

Computer Science & Information Technology

When you forward a message that was sent to you, the RE: in the subject line will change to FW:

Indicate whether the statement is true or false

Computer Science & Information Technology