What is the output of the program?
#include
using namespace std;
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();
Limited Time Offer
25%
Off
Currently there are no comments in this discussion, be the first to comment!
Currently there are no comments in this discussion, be the first to comment!