โช 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;
}