C++ New And Delete Question:
Download Questions PDF

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)

C++ New And Delete Interview Question
C++ New And Delete Interview Question

Answer:

d) Both b) and c)

Download C++ New And Delete Interview Questions And Answers PDF

Previous QuestionNext Question
The pow functions returns _____:

a) int
b) double
c) string
d) float
Which of the following are valid array declaration?

a) int num(5)
b) float avg[5]
c) double[5] marks
d) counter int[5]