Skip to content

Glossary: Coding Interviews in C++

Undefined behavior

Also written: UB

What C++ allows when code breaks a rule, such as reading past a vector's end. The program may crash or seem to work.

Where the book teaches it

Related terms

Segmentation fault