Members of a union are accessed as

'Members of a union are accessed' as mcq and its answer is provided on this page.

Union is a collection of variables of different data types sharing same memory location.

Only one variable can store its value in memory location assigned to that union.

Members of a union are accessed as

Que. Members of a union are accessed as
a a) union-name.member
b b) union-pointer->member
c c) both union-name.member & union-pointer->member
d d) none of the mentioned
Answer: View Answer Answer: c
Explanation : None.


Comments