Access specifier for struct is public by default.
It compiled fine, see https://godbolt.org/z/659r81qjo
It shows 10, see the link above. What compiler are you using?
Unions will "share" the same memory, so at a time you should be interpreting the same memory. For example, if you want the bit...