Default arguments

Default arguments

Allows a function to be called without providing one or more trailing arguments.

Indicated by using the following syntax for a parameter in the parameter-list of a function declaration.

attr(optional) decl-specifier-seq declarator = initializer (1)
attr(optional) decl-specifier-seq abstract-declarator(optional) = initializer