[A].
constructor
[B].
destructor
[C].
function
[D].
object
Answer: Option B
Explanation:
No answer description available for this question.
destructor
[C].
function
[D].
object
Answer: Option B
Explanation:
No answer description available for this question.
Constructor cannot be inherited but the derived class can call them.
[C].
A constructor of a derived class cannot access any public and protected member of the base class.
[D].
Both A and B.
Answer: Option D
Explanation:
No answer description available for this question.
can be overloaded
[C].
can be called
[D].
can be nested
Answer: Option B
Explanation:
No answer description available for this question.
A destructor has integer return type.
[C].
A destructor has no return type.
[D].
A destructors return type is always same as that of main().
Answer: Option C
Explanation:
No answer description available for this question.
A constructor cannot contain a function call.
[C].
A constructor has no return type.
[D].
A constructor has a void return type.
Answer: Option C
Explanation:
No answer description available for this question.
A destructor has a different name than the class in which it is present.
[C].
A destructor always returns an integer.
[D].
A destructor can be overloaded.
Answer: Option A
Explanation:
No answer description available for this question.
A constructor has a different name than the class in which it is present.
[C].
A constructor always returns an integer.
[D].
A constructor cannot be overloaded.
Answer: Option A
Explanation:
No answer description available for this question.
destructor
[C].
main
[D].
virtual function
Answer: Option B
Explanation:
No answer description available for this question.
virtual function
[C].
destructor
[D].
main
Answer: Option A
Explanation:
No answer description available for this question.