Page 1 of 1

Which of the following is correct about Functors?

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
a) Functors should not be declared outside the main function
b) Overloaded operator () function is not a member of the class
c) Functors should be declared global
d) Functors have a state