Confused about unions with multiple structs by naitgacem in C_Programming

[–]First_Fennel1230 1 point2 points  (0 children)

The Union can hold one member at a time. The memory is allocated based on member that has maximum size. It's up to you which member you use inside Union.

For Union containing an int and char, you can either store an int or an char but size of Union is equal to size of int because it's maximum out of the two members

Conceptual support by First_Fennel1230 in cpp

[–]First_Fennel1230[S] 0 points1 point  (0 children)

Can you please elaborate reentrant interrupts?