int type

   
int type Integer type specifier

  simple-type-specifier  := int 

figs/acorn.gif

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

   


C++ in a Nutshell
C++ in a Nutshell
ISBN: 059600298X
EAN: 2147483647
Year: 2005
Pages: 270
Authors: Ray Lischner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net