What are functions? What is the use of arguments in a function?
Answers
Answered by
6
Answer:
In mathematics, an argument of a function is a value that must be provided to obtain the function's result. It is also called an independent variable. ) is called a unary function. A function of two or more variables is considered to have a domain consisting of ordered pairs or tuples of argument values.
Answered by
1
Answer:
Because function are objects we can pass them as arguments to other functions. functions that can accept other functions as arguments are also called higher order functions.In the example below,a function greet is created which takes a function as an arguments
Explanation:
i hope its help
Follow me
Similar questions