In C, there is a keyword unsigned (not available in java), which can be used for declaring unsigned int x;. In the unsigned integers, the weight of the MSB is positive (2^31) rather thenthan being negative. In that case the range of an unsigned int is 0 to 2^32 - 1, wherewhile an int has range -2^31 to 2^31 - 1.