+ 1
All members of a union shares the same pice of memory. Changing one of them changes all of them. Unions are used to reduce structures size. If you need only one part of it at the moment you can share it with other parts. Also it could be used for fast type conversion when you share byte array with regular types.
9th Sep 2018, 1:03 PM
Sergey Ushakov
Sergey Ushakov - avatar