unions allow the same area of memory to be


Unions allow the same area of memory to be accessed as different data types. The insurance example above would not work.

Unions are useful (often in embedded programming) when it is needed to refer to a data item as two or more different types: e.g. it may be used as an integer for math, but an array of bytes for a serial transmission or a checksum calculation.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: unions allow the same area of memory to be
Reference No:- TGS0210001

Expected delivery within 24 Hours