Hello friends this is part 1 of function tutorial in this video I will explain what is parametrize Function, what is return function very deeply.
A parameterized function is a function that acts on some arguments, but the way it acts is based on an external constant. For instance, within the context (scope) of addA , a is a constant value that is set externally. In the case of addOne , a is the constant one.
Parameterization is the process of taking values or objects defined within a function or a method, and making them parameters to that function or method, in order to generalize the code. This process is also known as the “extract parameter” refactoring
A return statement ends the execution of a function, and returns control to the calling function. Execution resumes in the calling function at the point immediately following the call. A return statement can return a value to the calling function. For more information, see Return type.