Interviewer And Interviewee Guide

C++ Constructors Interview Question:

Which of the following gets called when an object goes out of scope?

A. constructor
B. destructor
C. main
D. virtual function

Submitted by: Muhammad
Option B
destructor
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.