STL member function

What is the exact difference between vector::end() and vector::back()

I understand back return the lat element and end return the iterator pointing to the last element is there any other differences i need to explore ?
Also to note that end() returns an iterator to the index after the last element.

The whole point of the iterator is to traverse a container. You are not guaranteed an iterator to be able to use <, >, <=, >= so without end() returning the index after the last element it is impossible to access the last element.
Topic archived. No new replies allowed.