Skip to content

Glossary: C++ Basics

Default argument

Also written: default arguments

A value a parameter takes when the call leaves it out, as in `int qty = 1`. Defaults go at the end of the parameter list.

Where the book teaches it

Related terms

ParameterFunction overloading