Interviewer And Interviewee Guide

C++ Constructors Interview Question:

Which of the following statement is correct?

A. A destructor has the same name as the class in which it is present.
B. 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.

Submitted by: Muhammad
Option A
A destructor has the same name as the class in which it is present.
Submitted by: Muhammad

Read Online C++ Constructors Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.