Page 1 of 1

For what minimum value of x in a 32-bit Linux OS would make the size of s equal to 8 bytes?

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
struct temp { int a : 13; int b : 8; int c : x; }s;
a) 4
b) 8
c) 12
d) 32