<P> The value of an item with an integral type is the mathematical integer that it corresponds to . Integral types may be unsigned (capable of representing only non-negative integers) or signed (capable of representing negative integers as well). </P> <P> An integer value is typically specified in the source code of a program as a sequence of digits optionally prefixed with + or − . Some programming languages allow other notations, such as hexadecimal (base 16) or octal (base 8). Some programming languages also permit digit group separators . </P> <P> The internal representation of this datum is the way the value is stored in the computer's memory . Unlike mathematical integers, a typical datum in a computer has some minimal and maximum possible value . </P> <P> The most common representation of a positive integer is a string of bits, using the binary numeral system . The order of the memory bytes storing the bits varies; see endianness . The width or precision of an integral type is the number of bits in its representation . An integral type with n bits can encode 2 numbers; for example an unsigned type typically represents the non-negative values 0 through 2 − 1 . Other encodings of integer values to bit patterns are sometimes used, for example Binary - coded decimal or Gray code, or as printed character codes such as ASCII . </P>

What is the size of an int variable