Why would you use operator * to dereference an iterator?

What will be an ideal response?

So that you can use the element to which it points.

Computer Science & Information Technology

You might also like to view...

Which of the following statements about the conditional operator (?:) is false?

a. The conditional operator is a ternary operator, meaning that it takes three operands. b. The first operand is a boolean expression. c. The second operand is the result value if the condition evaluates to false. d. The second operand is the result value if the condition evaluates to true.

Computer Science & Information Technology

Suppose int i = 5, which of the following can be used as an index for array double[] t = new double[100]?

a. i b. (int)(Math.random() * 100)) c. i + 10 d. i + 6.5 e. Math.random() * 100

Computer Science & Information Technology