Skip to main content

6 docs tagged with "functions"

View all tags

Default Function Arguments

Default arguments allow function parameters to have default values when not explicitly provided by the caller.

Function Overloading

Function overloading allows multiple functions with the same name but different parameters. The compiler selects the best match based on arguments.

Inline Functions

inline suggests the compiler replace function calls with function body, eliminating call overhead. Modern compilers decide automatically.