What will be the output of the following program ?

		
					

Loading

โœช Choose the correct option.

What will be the output of the following program ?

#include  
class Crackexams {
public:
Crackexams() {
cout<< "Hello";
}
~Crackexams() {
cout<< "India";
}
};
int main() {
Crackexams obj;
return 0;
}

A. Hello
B. India
C. Crackexams
D. Compile Time Error

Leave a Comment