What is the use of functor?
A. It makes the object “callable” like a function.
B. It makes the class “callable” like a function.
C. It makes the attribute “callable” like a function.
D. none of the mentioned
Answer:A
What is the use of functor?
A. It makes the object “callable” like a function. B. It makes the class “callable” like a function. C. It makes the attribute “callable” like a function. D. none of the mentioned