This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
notes:cprog:fall2022:projects:dtr0 [2022/09/08 02:41] – [BINARY NUMBERS] rspringe | notes:cprog:fall2022:projects:dtr0 [2022/09/08 02:44] (current) – [DATA TYPES IN C] rspringe | ||
---|---|---|---|
Line 44: | Line 44: | ||
--------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | ||
- | ===Enumerated | + | ===Enumerated |
They are again arithmetic types and they are used to define variables that can only assign certain discrete integer values throughout the program. | They are again arithmetic types and they are used to define variables that can only assign certain discrete integer values throughout the program. | ||
--------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | ||
- | ===The | + | ===The |
- | The type specifier void indicates that no value is available. | + | The type specifier |
--------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | ||
- | ===Derived | + | ===Derived |
They include (a) Pointer types, (b) Array types, (c) Structure types, (d) Union types and (e) Function types. | They include (a) Pointer types, (b) Array types, (c) Structure types, (d) Union types and (e) Function types. |