Unions in C Language | Learn C Language

C Unions Union is a data type with two or more member similar to structure but in this case all the members share a common memory location. The size of the union corresponds to the length of the largest member. Since the member share a common location they have the same starting address. Major difference between c unions and structure

Continue reading »