The deque::rend() is an inbuilt function in C++ STL which returns a reverse iterator which points to the position before the beginning of the deque (which is considered its reverse end).
Parameter: This function does not accept any parameters.
Return value: It returns a reverse iterator which points to the position before the beginning of the deque.
Below program illustrates the above function:
The deque in reverse order: 50 40 30 20 10
The deque in reverse order: e d c b a
Rated as one of the most sought after skills in the industry, own the basics of coding with our C++ STL Course and master the very concepts by intense problem-solving.