2.2.3 Default Values with a Prototype
Recall that a prototype is an advanced declaration of a function. You saw earlier that prototype needs to have the same function header. While that is still true, the one clarification to that is that you only define default values in the prototype.
The function definition still needs to have the same parameters and the same order, but you do not list the default value a second time.
Last updated