1.

What is the technical word for the function ~IndiaBix() defined in the following program?

#include<iostream.h> class IndiaBix
{ int x, y; public: IndiaBix(int xx = 10, int yy = 20 ) { x = xx; y = yy; } void Display() { cout<< x << " " << y << endl; } ~IndiaBix() { } };
int main()
{ IndiaBix objBix; objBix.Display(); return 0;
}

A. Constructor
B. Destructor
C. Default Destructor
D. Function Template
Answer» C. Default Destructor


Discussion

No Comment Found

Related MCQs