Take the 2-minute tour ×  I created an union and I put different
types of array inside of it. I printed outputs in an order and I
really didn't understand some points.  1) Why is my char array's
length always 8 even the content is different? There is only
"hello" inside of it. And why does the output is "Cats rock!"
when I try to print for second time. I didn't put anything like
that inside array.  2)Again length problem. Lenghts of all my
arrays are 8 even the length of union. Why?  3) My last question
is why double number's value changed when I try to print for the
second time.  I'm posting you my code and out put that I get.
Sorry about long post, but I'm really confused.  char: hello, 8
double: 5.557111111111111, 8 int: 1937006915 1668248096 8555, 8
char: Cats rock! double: 0.000000000000000 int: 1937006915
1668248096 8555 size of union: 8  my code  #define NUM1
5.557111111111111  #define NUM2 1937006915 #define NUM3
1668248096 #define NUM4 8555 #include <stdio.h>  /*created an
union*/ typedef union {