#include<stdio.h>
union un{
int i;
char ch;
float f;
}
main()
{
union un u1;
u1.i = 10;
u1.ch = 'a';
u1.f = 1.9999;
printf("%d %c %f ",u1.i,u1.ch,u1.f);
}
Op :
1073740985 ¹ 1.999900
0 comments: