Why then it is written that s.back() gives the reference to the last character? Rather it should say that s.back() will return the last character.
I am little confuse in this help me out.