Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
union temp
{
    char a;
    char b;
    int c;
}t;
int main()
{
    printf("%d", sizeof(t));
    return 0;
}

A. 1

B. 2

C. 4

D. 6

Answer: Option C


This Question Belongs to C Program >> Operators And Expressions

Join The Discussion

Related Questions on Operators and Expressions