The operator * is prefixed to an iterator to

a. Multiply the element in the container
b. Extract the element in the container to assign to it only
c. Extract the element in the container to fetch its value only
d. Extract the element in the container as either an l-value or an r-value
e. The * is overloaded to perform addition, so this operator moves where the iterator points by a number of elements.

Part d) is correct.
Explanation: Part a) is wrong, the operator * as used with iterators is unary prefix operator. Part b) is wrong as it omits use as an r-value. Part c) is wrong as it omits use as an l-value. Part e) is wrong for the same reason Part a) is wrong.

Computer Science & Information Technology

You might also like to view...

In addition to the four primary computer operations, today’s computers typically also perform ____ functions.

A. calculations B. communications C. sorting D. programming

Computer Science & Information Technology

Not only does DHCP give out IP addresses, but it can also give out additional IP information, such as subnet mask and default gateway.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology