What are unions used for in C?

C unions allow data members which are mutually exclusive to share the same memory . This is quite important when memory is valuable, such as in embedded systems. Unions are mostly used in embedded programming where direct access to the memory is needed.

Sizin İçin Seçtik  Tuzun ve şekerin suda çözünmesi fiziksel mi kimyasal mi?

Leave a Reply

Your email address will not be published. Required fields are marked *