
Next: Data Structures
Up: Functions
Back: References
-
To assign default values to function parameters, you use the C++
assignment operator to assign a value to the parameter
during declaration within the function definition
-
When a program omits parameter values during a function call,
the function will use default values