If you want to use same memory location for two or more members, union is the best for that . Unions are similar to the structure. Union variables are created in same manner as structure variables.
If you want to use same memory location for two or more members, union is the best for that . Unions are similar to the structure. Union variables are created in same manner as structure variables.