10
What will be the output of the program?
#include <iostream>
using namespace std;
class A {
public:
A() { cout << "A"; }
~A() { cout << "a"; }
};
int main() {
{
A x;
}
cout << "M" << endl;
return 0;
}Easy