Key words |
Description |
Auto |
Declaring automatic variables |
Short |
Declaring a short-integer variable or function |
Int |
Declaring an integer variable or function |
Long |
Declaring a long integer variable or function |
Float |
Declaring a floating-point variable or function |
Double |
Declaring a double-precision variable or function |
Char |
Declaring a character variable or function |
struct |
Declaring struct-body variables or functions |
Union |
Declaring a shared data type |
Enum |
declaring enum types |
typedef |
Used to alias data types |
Const |
Declaring read-only variables |
Unsigned |
Declaring an unsigned type variable or function |
Signed |
Declaring a signed type variable or function |
extern |
Declaring a variable is declaring it in another file |
Register |
Declaring Register variables |
Static |
declaring static variables |
Volatile |
Explanatory variables can be implicitly changed in program execution |
void |
Declaring a function with no return value or no argument, declaring an untyped pointer |
If |
Conditional statements |
Else |
Conditional statement Negation Branch (with IF) |
Switch |
For switch statements |
Case |
Switch Statement Branch |
For |
A circular statement |
Do |
Loop body of a looping statement |
While |
Looping conditions for a loop statement |
Goto |
Unconditional Jump Statement |
Continue |
End the current loop and start the next cycle |
Break |
Jump out of the current loop |
Default |
The "other" branch in the switch statement |
sizeof |
Calculate data type length |
Return |
Subroutine return statement (can be with or without parameters) loop condition |