1.

Which of the following statement is correct about the program given below? #include class IndiaBix { public: IndiaBix() { cout<< "India"; } ~IndiaBix() { cout<< "Bix"; } }; int main() { IndiaBix objBix; return 0; }

A. The program will print the output India.
B. The program will print the output Bix.
C. The program will print the output IndiaBix.
D. The program will report compile time error.
Answer» D. The program will report compile time error.


Discussion

No Comment Found

Related MCQs