get lowest int c++ code example Example 1: c++ min #include <algorithm> // std::min std::min(1,2); Example 2: c++ min int int min = INT_MIN;