There is only one simplest principle for C language to deal with the out-of-range data of int type: truncation, that is, the high-order bytes beyond the range of int bit length are automatically truncated.
For example, suppose the length of int is 16 bits, and the following code:
Internationalorganizations (same as international organizations)
a = 0X77FFFFL
/*
Because it is out of range, the high order 77 will be automatically truncated, and the actual a is equal to 0xFFFF.
*/
++ a;
/*
When a is increased, it will be out of range, and the higher order 1 will be truncated, and the actual A = 0.
*/