+ 4

How to find the maximum of integers

I am wondering if there is any function(built-in) to get the maximum/minimum of integers like max(int1,int2); max_of(int1,int2) If yes then in which library it has it's prototype?

18th Jul 2018, 1:55 PM
Shahil Ahmed
Shahil Ahmed - avatar
1 Answer
+ 3
algorithm library has a max() function
18th Jul 2018, 2:44 PM
Toni Isotalo
Toni Isotalo - avatar