c++ how to set an int with a max value code example Example: int max in c++ 2147483647 unsigned long long int = 18 446 744 073 709 551 615