Page 1 of 1

What will be the output of the following C code on a 64 bit machine?

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
#include <stdio.h> union Sti { int nu; char m; }; int main() { union Sti s; printf("%d", sizeof(s)); return 0; }
a) 8
b) 5
c) 9
d) 4