Parameters:
Parameters are the values which are passed to the subprogram for computing values or performing specific actions. In-turn, the subprograms can return back some values which can be the output of the subprogram. Based on this, the Parameters are categories as
Actual Parameters
Actual parameters are the variables which defined in the parameter list of a subprogram call.
Formal Parameters
Formal Parameters are the variables provided while declaring subprograms.
Parameter Modes:
Parameter Modes describes the behavior of the formal parameters. There are three type of parameter modes: