1.

How many ways are there to use functors?(a) 1(b) 2(c) 3(d) 4The question was posed to me in my homework.Asked question is from Functors in division Algorithms, Objects & Iterators in C++ of C++

Answer»

The CORRECT option is (b) 2

Explanation: There are two WAYS of using functors ONE like function calls and other like normal CLASS OBJECTS.



Discussion

No Comment Found

Related InterviewSolutions