#include <stdio.h> #include <string.h> #include <ctype.h> union myUnion { int x; long double y; }; int main() { union myUnion a; a.y = 3.2; a.x = 5; return 0; }
Standard input is empty
3.20000000000000017763568394002504646778106689453125 3.19999999925494194139181935998550443400745280086994