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 TryBase {
public:
TryBase() {
cout<< "Base OK. ";
}
};
class TryDerived: public TryBase {
public:
TryDerived() {
cout<< "Derived OK. ";
}
~TryDerived() {
cout<< "Derived DEL. ";
}
};
int main() {
TryBase objB;
TryDerived objD;
objD.~TryDerived();
return 0;
}

A. Base OK. Derived OK. Derived DEL.
B. Base OK. Base OK. Derived OK. Derived DEL.
C. Base OK. Derived OK. Derived DEL. Derived DEL.
D. Base OK. Base OK. Derived OK. Derived DEL. Derived DEL.