a) mltiplication<T> f(a1, a2);

b) add<T> f(a1, a2);

c) subtract<T> f(a1, a2);

d) plus<T> f(a1, a2);

### 1 thought on “Which of te following is a built-in example of functors in C++?”

### Leave a Comment

You must be logged in to post a comment.

a) mltiplication<T> f(a1, a2);

b) add<T> f(a1, a2);

c) subtract<T> f(a1, a2);

d) plus<T> f(a1, a2);

You must be logged in to post a comment.

d

Explanation: plus f(a1, a2); is one of the correct in-built functor available.