+ 2
Yes, it is possible. union data { int number; char ch; }; However, it probably doesn't do what you want. Both fields start at the beginning of data so the first 8 bits of number is the same 8 bits of ch.
25th Oct 2017, 4:06 PM
John Wells
John Wells - avatar