How to sort an Array in descending order using STL in C++?
Sort an array in descending order means arranging the elements in such a way that the largest element at first place, second largest at second place and so on. In this article, we will learn how to sort an array in descending order using STL in C++. Examples Input: arr[] = {11, 9, 45, 21};Output: 78