Skip to content

Glossary: C++ Basics

Undefined behavior

Code the language gives no rules for, so anything can happen. Examples are overflowing an `int` or going past the end of a vector with `[]`.

Where the book teaches it

Related terms

OverflowDangling