C++ New And Delete Question:

Download Job Interview Questions and Answers PDF

In the following statements,

class ABC;
class ABC
{
};

a) It is called as forward declaration
b) It is called as backward declaration
c) It is called as middle declaration
d) It is called as simple declaration

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

Answer:

a) It is called as forward declaration

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

Previous QuestionNext Question
Object can be used as a function argument by..

a) Pass by value
b) Pass by reference
c) None of above
d) All of above
All member function of one class can be declared as friend function of another class, is called as:

a) friend class
b) neighbor class
c) sister class
d) inherited class