C++ Function Parameters
C++ Function Parameters:
- In C++ function parameter, Parameter allow function to require additional pieces of information in order to be called.
- Parameters are specified within the parenthesis of the function definition.
- Parameters are local variables to the function. Their names are scoped inside of the function body’s block
The Syntax of C++ function Parameters is as follows;
functionType functionName(parameter1, parameter2,…parameter n){
// Statements
}
Example :

Output :
