Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

sort in descending order c++ stl

sort(arr, arr + n, greater<int>())
 
PREVIOUS NEXT
Tagged: #sort #descending #order #stl
ADD COMMENT
Topic
Name
9+2 =