Multiple Choice
Which of the following is the syntax to declare the operator function operator[] as a member function of a class for constant arrays?
A) const Type& []operator(int index) const;
B) const Type& operator[](int index) const;
C) const Type& operator[](int index) ;
D) const Type [](int index) const;
Correct Answer:

Verified
Correct Answer:
Verified
Q25: Operator functions typically return void.
Q26: Using a class template, you can write
Q27: The general form of the functions to
Q28: A friend function does not have access
Q29: Any function that overloads an operator is
Q31: The return type of the function to
Q32: The general syntax to overload the stream
Q33: The operators that cannot be overloaded are
Q34: The return type of the function operator
Q35: Which of the following is a built-in