CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

Unions

C Programming – Understanding Unions in C

Unions are another useful types in C language, where all of it’s members starts at the same location in memory. That means, all members of the Union, have the same address; whereas, members in Structures have different addresses. This unique quality of the Unions, saves the memory usage. Defining an Union in C By using, […]

Scroll to top