#include<iostream>
int main()
{
using namespace std;
union value
{
int a;
float b;
char c;
}data;
cout<<"sizeof(data):"<<sizeof(data)<<endl;
data.c='a';
cout<<data.c<<endl;
data.b=1.3;
cout<<data.b<<endl<<data.a<<endl;
}