Examveda

What would be the size of the following union declaration? (Assuming size of double = 8, size of int = 4, size of char = 1)
#include <stdio.h>
union uTemp
{
    double a;
    int b[10];
    char c;
}u;

A. 4

B. 8

C. 40

D. 80

Answer: Option C


This Question Belongs to C Program >> Structure And Union

Join The Discussion

Related Questions on Structure and Union