Default values are specified in the header of a function (declaration or definition) by adding an equal sign (‘=’) followed by default value at the end of a parameter declaration.
Read moreWhere the default value of the parameter has to be specified?
Default values are specified in the header of a function (declaration or definition) by adding an equal sign (‘=’) followed by default value at the end of a parameter declaration.
Read more