Skip to content

Glossary: C Basics

if / else if / else

Also written: if, else

A statement that runs a block only when its condition is true. else if and else add alternatives, and only the first true block runs.

Where the book teaches it

Related terms

Conditionswitch