1#include <limits>
2
3int imin = std::numeric_limits<int>::min(); // minimum value
4int imax = std::numeric_limits<int>::max(); // maximum value (2147483647)
1x = 1, y = 2;
2fmax(x , y);
3//if you want to print it right away:
4cout << fmax(x , y);
5//if you want to store it:
6int j = fmax(x, y);
7cout << j;
8
9//output 2