int type

int type Integer type specifier

simple-type-specifier := int


The int type specifier denotes an integral type. Alone, it represents a signed integer whose size is the natural size of an integer on the host platform. With the short or long specifier, it represents an integer type whose range is possibly smaller or larger than that of plain int. With the unsigned specifier, it represents an unsigned type. The signed specifier is allowed, but it is the default, so it is rarely used with int.

See Also

char, declaration, declarator, long, short, signed, type, unsigned, Chapter 2