Discussion Forum : Subscripting
Question -

How many arguments will the subscript operator will take for overloading?

Options:
A .  1
B .  2
C .  0
D .  as many as possible
Answer: Option A

The subscript operator overload takes only one argument,
but it can be of any type.



Was this answer helpful ?
Submit Your Solution hear:

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