What do we need to use when we have multiple subscripts?
A. operator()
B. operator[]
C. operator
D. None of the mentioned
Answer:A
What do we need to use when we have multiple subscripts?
A. operator() B. operator[] C. operator D. None of the mentioned
Explanation:The reason is that operator[] always takes exactly one parameter, but operator() can take any number of parameters.