Answers for "comparator in stl sort"

C++
0

comparator in sort c++

bool com_fun(int a,int b){
	if(a<b) return true;
	else return false;
}

sort(arr,arr+n.com_fun);
Posted by: Guest on October-25-2021

Code answers related to "comparator in stl sort"

Browse Popular Code Answers by Language