LogiQuest
Back to Structures, Unions, Enums
3

What will be the output of the program?

#include <stdio.h>
union U { int i; char c; };
int main(void) {
    printf("%zu\n", sizeof(union U));
    return 0;
}
Medium

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.