The program illustrates the using of the member function reverse_iterator rbegin() and rend(). The syntaz of rbeigin and rend() are as follows. reverse_iterator rbegin();: Returns a reverse iterator to the end of the map. reverse_iterator rend():; Returens a reverse iterator to the start of the map. |