Y
Hacker News
new
|
ask
|
show
|
jobs
by
ynfnehf
1377 days ago
Another fun one:
struct { long unsigned a : 31; } t = { 1 };
What is t.a > -1? What about if a is instead a bit-field of width 32? (Assuming the same platform as in the quiz.)