undefined behavior
Also written: UB
What happens when unsafe code breaks a rule the compiler relies on: the program may crash, give wrong answers or seem fine until it doesn't.
Also written: UB
What happens when unsafe code breaks a rule the compiler relies on: the program may crash, give wrong answers or seem fine until it doesn't.