In the following statements:
class sports {};
class test : public student{};
class result : public test, public sports {};
//Here result class have implemented,
a) Hierarchical inheritance
b) Multiple inheritance
c) Multilevel inheritance
d) Both b) and c)
Submitted by: Administratord) Both b) and c)
Submitted by:
Submitted by:
Read Online C++ New And Delete Job Interview Questions And Answers
Top C++ New And Delete Questions
☺ | Explain realloc()? |
☺ | Explain the difference between realloc() and free()? |
☺ | What is new operator and delete operator? |
☺ | What is dynamic memory management for array? |
☺ | You can use C++ as a procedural, as well as an object-oriented language? |
Top C Plus Plus Language Categories
☺ | C++ Pointers & Functions Interview Questions. |
☺ | C++ Operator Overloading Interview Questions. |
☺ | C++ Exception Handling Interview Questions. |
☺ | C++ Virtual Functions Interview Questions. |
☺ | C++ Template Interview Questions. |