Union in C MCQs Exercise II

Ques 1 Union


What is the output of the following C Code?

#include<stdio.h>
union Student
{
    int roolNo;
    char gender;
    char name[10];
};
int main()
{
    union Student s1;
    printf("%d", sizeof(s1));
    return 0;
}

A 4
B 1
C 10
D 15