Skip to content

Glossary: Data Structures and Algorithms in C++

Undefined behavior

What happens when code does something C++ doesn't define, like popping an empty stack or using [] out of range. It may crash, return garbage or seem to work.

Where the book teaches it

Related terms

at()