Q62
What will be the output of the following C++ code? #include using namespace std; class A ~A() cout<<"Destructor called "; ; int main() A a; return 0;
A.
Destructor called
B.
Nothing will be printed
C.
Error
AnswerD.
Segmentation fault
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board