Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 40
Why is size_of::<Option<Box<T>>>() equal to size_of::<Box<T>>()?
A
Box is 16 bytes
B
Option has no runtime representation
C
Niche optimization: Box is never null, so None is represented by the null pointer
D
The compiler boxes Option too