Synopsis: | The concept of union whereby different kinds of data can be manipulated in a single area of storage is allowed only as the solution to certain kinds of problem but caution is urged in its use. |
Language: | C |
Severity Level: | 4 |
Category: | DECLARATIONS |
Description: |
Although union is a well-defined concept, it is emphasized that it is the programmer's responsibility to keep track of which type is currently stored in a union as the results are implementation defined if something is stored as one type and extracted as another. |