Which of the following operations do random access iterators have?

A. Prefix operator* to make available the container element for use as l-value or r-value.
B. Overloaded binary operator+ to move the place the iterator points forward by the amount added.
C. Overloaded binary operator* to multiply the iterator by a double value to move the place the iterator points by a fractional number of elements equal to the double argument.
D. Overloaded unary operator++ to move the place the iterator points forward by as many elements as the argument.

A. Prefix operator* to make available the container element for use as l-value or r-value.

Computer Science & Information Technology

You might also like to view...

A two-variable data table changes one value in a formula using two inputs–one from a column and one from a row

Indicate whether the statement is true or false.

Computer Science & Information Technology

____ returns the maximum number of elements that can be inserted into the vector container vecCont without reallocation.

A. vecCont.size() B. vecCont.max_size() C. vecCont.capacity() D. vecCont.length()

Computer Science & Information Technology