Skip to content

Glossary: C++ Basics

if / else if / else

Also written: if, else, else if

Keywords that run a block only when a condition is true. `else if` tests another condition, and `else` catches the rest.

Where the book teaches it

Related terms

Conditionswitch