Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 40
What happens on integer overflow (e.g. u8 255 + 1) in Rust?
A
Always panics in every build
B
Panics in debug builds; wraps (two's complement) in release by default — never undefined behaviour
C
Always saturates
D
Always undefined behaviour