|
|
|||
![]() |
Department of Engineering |
| University of Cambridge > Engineering Department > computing help |
| auto | break | case | char | const |
| continue | default | do | double | else |
| enum | extern | float | for | goto |
| if | int | long | register | return |
| short | signed | sizeof | static | struct |
| switch | typedef | union | unsigned | void |
| volatile | while |
A few of these haven't yet been described.
enum color {Red, Green, Blue};
They're not as useful as in pascal because C doesn't check if
you set an enumerated type to a valid value.