Sail E0 Webinar
Question

What do we need to use when we have multiple subscripts?


Options:
A .  operator()
B .  operator[]
C .  operator
D .  None of the mentioned
Answer: Option A

The reason is that operator[] always takes exactly one parameter, but operator() can take any 

number of parameters.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers