Home » C++ Programming » Operators » Question
  1. Pick out the correct statement.
    1. subscript operator has a lower precedence than the assignment operator
    2. subscript operator is used with string elements
    3. subscript operator has a higher precedence than the assignment operator
    4. All of above
    5. None of these
Correct Option: C

subscript operator has a higher precedence than the assignment operator.



Your comments will be displayed only after manual approval.