In Go, a _______ function is a function that can accept one or more functions as arguments or return a function.

  • Callback
  • Higher-order
  • Nested
  • Recursive
In Go, a higher-order function is a function that can accept one or more functions as arguments or return a function. This capability allows for more flexible and modular code by enabling functions to be passed as parameters and returned as values.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *