I just read this paper about unions and structs.
Now, what is the advantage of a union/struct???????
you can just declare a int if you want an int, float if you want a float and so on...
And a Union only can contain 1 (one) value, the largest variable.
So can someone tell me a scenario where a Union/Struct is very helpfull?
Thank you in advance