C Syntax Flashcards
auto
Give a local variable a local lifetime
break
Exit out of a compound statement
case
A branch in a switch statement
char
Character data type
const
Make a variable unmodifiable
continue
Continue/Jump to the top of a loop
default
Default branch in a switch statement
do
Start a do-while loop
double
Double floating point data type
else
An else branch of an if statement
enum
Define a set of int constants
extern
Declare an identifier is defined externally
float
Floating point data type
for
Start a for-loop
goto
Jump to a label
if
Start an if-statement
int
Integer data type
long
Long integer data type
register
Declare a variable be stored in a CPU register
return
Return from a function
short
Short integer data type
signed
Signed modifier for integer data types
sizeof
Determine the size of data
static
Preserve variable value after its scope exits
struct
Combine variables into a single record, a structure
switch
Start a switch-statement
typedef
Create/define a new type
union
Start a union-statement
unsigned
Unsigned modifier for integer data types
void
Declare a data type empty
volatile
Declare a variable might be modified elsewhere
while
Start a while-loop