How to calculate value of one member of union when assigning a value to other one?

Printable View