Types                    Data and Function Return Types
 
    C type declarations have the general form:
 
            [class] [type] declarator [ = initializer]
            [, declarator [ = initializer] ... ]
 
      Notes:    All identifiers must be declared before they can be used,
                with the exception of functions that return int values.
 
                The declarator (identifier) can be modified with a
                trailing *, [], or (), to signify pointer to, array of,
                or function returning, respectively.
 
                With the typedef keyword, new types can be defined using
                other types already defined.
 
                An expression of one type can be explicitly converted to
                another type using a cast.
 
                The amount of storage required by an object of any type
                can be determined using the sizeof compile-time operator.
 
                Certain types--specifically char, short, and float--are
                promoted (or widened) when used as function arguments.
 

Seealso:



This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster