Python language
Python-2.x offers 2 types of integers: plain integers and long integers.
While plain integers have a least a 32 bits precision, long integers have unlimited precision (Numeric types)
Plain integers are automatically promoted to long integers if an overflow happens:
Python 2.7.5 (default, May 12 2013, 12:00:47)
[GCC 4.8.0 20130502 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.maxint
9223372036854775807
>>> a = sys.maxint
>>> print type(a)
<type 'int'>
>>> a +=1
>>> print a
9223372036854775808
>>> print type(a)
<type 'long'>
C language
In C language, integers overflow behavior is different regarding the integer signedness. 2 situations arise: (Basics of Integer Overflow)