What are the two advantage of function objects than the function call?

a) It contains a state
b) It is a type
c) It contains a state & It is a type
d) It contains a prototype

1 thought on “What are the two advantage of function objects than the function call?”

  1. c
    Explanation: A function object can contain state. The second is that a function object is a type and therefore can be used as a template parameter.

Leave a Comment