#include#include
#includeIn this example, the end() function is used to access the last element of the multimap by decrementing the iterator returned by end(). The last element is then printed. The package library used in these examples is the standard C++ library.#include