Type Modifiers Keywords That Modify Data Types
Type modifiers are keywords that can be used to prefix a data type in
a declaration or cast. They modify the type by changing its storage
size (e.g. short and long) or the way in which it is interpreted
(e.g. signed and unsigned.) They may even place certain restrictions
on the type (e.g. const and volatile.)
Notes: As shown below, type modifiers may be combined in the
same declaration. There are two restrictions, however: A
declaration may not include both long and short, or both
signed and unsigned. All other combinations are valid.
Type modifiers may be specified in any order.
-------------------------------- Example ---------------------------------
unsigned long int uli;
signed short int ssi; const int ci;
const unsigned short int cusi;
volatile short int vsi;
Seealso:
This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster