What is the use of unions 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  BTT lansman ne zaman?

Leave a Reply

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

What is the use of unions 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  Is abstract class better than interface in C#?

Leave a Reply

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