Which of the following operations do bidirectional iterators have?
a. Prefix operator* to make available the container element for use as l-value or r-value.
b. Overloaded operator+ to add an int value to the iterator to move the place the iterator points forward by the argument number of elements.
c. Overloaded operator* to multiply the iterator by an int value to move the place the iterator points by a number of elements equal to the argument.
d. Overloaded operator++ to move the place the iterator points forward by one element.
e. Overloaded operator-- to move the place the iterator points backward by one element.
f. Overloaded operator== and operator!= to determine whether two iterators point to the same element.
Part a), d), e) and f) are correct.
You might also like to view...
Photoshop's updating tools and production filters offer you many options for fixing flaws in an image, such as dust and scratches, graininess, and red eye.
Answer the following statement true (T) or false (F)
Which of the following is NOT one of the four major functions of a computer?
a. input b. processing c. indexing d. storage
Text symbols such as small circles or checkmarks that introduce each item in a list are referred to as:
A) links. B) formats. C) effects. D) bullets.
Java is a case-insensitive language.
a. true b. false