what is parameter and list its types
Answers
Answered by
2
Answer :The parameter list of a function describes the number and types of the arguments that the function accepts, and the number and types of the values it returns. ... It may also specify that calls to the generic function may contain any keyword arguments.
Explanation: Hope it helps.
Answered by
1
Parameter:
- A parameter, also known as a formal statement, is a type of variable that is used to refer to one of the pieces of data presented as input to a function.
- Arguments, often known as parameters, are how the calling function passes values to the calling function.
- Formal parameters are variables that are utilized as parameters in a function description.
- The constants, variables, or expressions utilized in the function call are known as real parameters.
Types of parameter are:
Default arguments and Constant Arguments are the two types of arguments.
Similar questions