What is the output of the program?
#include
union t
{
char c; int i;
};
class First
{
union t u; public: First() {
u.c = ‘A’;
}
void Print(){ cout << u.c;
} };
int main()
{
First *t = new First(); t?>Print();
}
A. Garbage value
B. It prints: A
C. It prints: A 65
D. Compilation error