Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C - <b>types data and function return types</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
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.


See Also: Classes typedef

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson