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