Which among the following is never possible in C when members in a structure are same as that in a union?
//Let P be a structure
//Let Q be a union
a. sizeof(P) is greater than sizeof(Q)
b. sizeof(P) is equal to sizeof(Q)
c. sizeof(P) is less than to sizeof(Q)
d. None of the above
ANSWER: sizeof(P) is less than to sizeof(Q)
Post a Comment