non mutating algorithm Question 3

Last Updated :
Discuss
Comments

Which of the following best describes the return value of the find() function when the search value is not found in the given range?

The iterator to the position one past the last element in the range.

A null pointer.

An iterator pointing to the last element of the range.

An iterator pointing to the beginning of the range.

Share your thoughts in the comments