- A A function that returns another function
- B A function that takes another function as an argument
- C A function that does both of the above
- D none of these
- Share this MCQ
Answer:
C
Share this MCQ
A higher-order function is a function that either returns another function or takes another function as an argument, or both.
Higher-order functions are a powerful tool in functional programming because they allow you to create new functions by combining and modifying existing ones.
Share this MCQ