Example & Tutorial understanding programming in easy ways.

What is the difference between a structure and a Union?

-All the members of a structure can be accessed simultaneously but union can access only one member at a time.

- Altering the value of a member will not affect the other members of the structure but where it affects the members of a union.

- Lesser memory is needed for a union variable than a structure variable of the same type


Read More →