Home » C Programming » Unions » Question
  1. 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 Test
    {
    double n1;
    int n2[10];
    char n;
    }t;
    1. 80
    2. 8
    3. 4
    4. 40
    5. None of these
Correct Option: D

40



Your comments will be displayed only after manual approval.