What is the difference between the back() and end() functions defined for list containers in STL?
It is specified in my book that back() gives reference to the last element while end() gives reference to the end of the list. I'm unable to understand how the two functions differ.