Function pointers in C can be passed as arguments to functions, thereby providing a degree of ________.

  • Abstraction
  • Encapsulation
  • Flexibility
  • Polymorphism
In C, function pointers enable polymorphism by allowing you to call different functions dynamically. This provides flexibility in your code.
Add your answer
Loading...

Leave a comment

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