Home » C++ Programming » Operators » Question
  1. How many arguments will the subscript operator will take for overloading?
    1. as many as possible
    2. 0
    3. 1
    4. 2
    5. None of these
Correct Option: C

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



Your comments will be displayed only after manual approval.