Code AnalysisIntermediate 60s
Trace: Struct Reorder
Which is smaller?
Starter code
#include <stdio.h>
struct A { char c; int i; char d; };
struct B { int i; char c; char d; };
int main() { printf("%zu %zu",sizeof(struct A),sizeof(struct B)); return 0; }Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.