union ABC { int a; float b; char c; };
Answer & ExplanationOption: [B]
union is a data type in which all the members are stored in the same location. The memory size of union is equal to the memory size of the highest member variable. Each members of union can be accessed one by one. In this case size of float is 4. So the size of the union is 4.
Article and Schedule Quiz | Start Test! |