Undefined Behavior
Operations the standard gives no meaning — the compiler may assume they never happen.
Intermediate
Examples: out-of-bounds access, signed integer overflow, use after free, uninitialised reads, null dereference, shifting by ≥ width. UB can make optimised code behave "impossibly". Use sanitizers to find it.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.