What are functors in C++?

a) Objects of a class which are treated as functions
b) Objects that are used to call the function of other classes
c) Functions that are called using pointer objects
d) Functions that are called only once in a program

1 thought on “What are functors in C++?”

Leave a Comment