Home » C Programming » Difference between structure and union in C Programming

Difference between structure and union in C Programming

union occupies less memory than structure

union variable can store one value at a time & same memory location, can be used to store multiple types of data.

Managed by MochaHost - Fast & Easy WordPress Hosting