Which of the following is the syntax to declare the operator function operator[] as a member function of a class for nonconstant arrays?
A. Type& []operator(int index);
B. Type operator[](int index);
C. Type& operator[](int index);
D. Type [](int index);
Answer: C
Computer Science & Information Technology
You might also like to view...
A formatting mark in each cell of a table indicates ________
A) if the cell includes content B) which cells include data and which cells include numbers C) where the beginning of each cell starts D) the end of the contents in each cell
Computer Science & Information Technology
Using the Compact and Repair Database utility on a regular basis is good practice
Indicate whether the statement is true or false
Computer Science & Information Technology