rand max c++17 code example Example: what is max rand in C++ It is guaranteed that std::rand max value is at least 32767