#include <stdio.h> #include <stdlib.h> #include <string.h> union { int n; double x; }num; int main() { num.n = 10; num.x = 10.5; printf("num.n is %d ",num.n); printf("num.x string is %10f ",num.x); return 0; }