• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/46

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

46 Cards in this Set

  • Front
  • Back

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 immutable.

continue

Continue to the top of the loop

default

default branch in a switch statement

do

start a do-while loop

double

double precision floating point data type

else

else branch in an if statement

enum

define a set of 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 datatype

sizeof

determine the size of a data item

static

preserve variable value after its scope exits

struct

combine variables into single record

switch

start a switch statement

typedef

create a new type

union

start a union statement

unsigned

unsigned modifier for integer datatype

void

declare a datatype empty

volatile

declare a variable might be modified elsewhere

while

start a while loop

if-statement

if(TEST) {


CODE;}


else if(TEST) {


CODE;}


else {


CODE;


}

switch-statement

switch (OPERAND) {


case CONSTANT:


CODE;


break;


default:


CODE;


}

while-loop

while(TEST) {


CODE;


}

while-continue-loop

while(TEST) {


if(OTHER_TEST) {


continue;


}


CODE;


}

while-break-loop

while(TEST) {


if(OTHER_TEST) {


break;


}


CODE;


}

do-while-loop

do {


CODE;


} while(TEST);

for-loop

for(INIT; TEST; POST) {


CODE;


}

enum syntax

enum { CONST1, CONST2, CONST3 } NAME;

goto syntax

if(ERROR_TEST) {


goto fail;


}






fail:


CODE;

function syntax

TYPE NAME(ARG1, ARG2, ..) {


CODE;


return VALUE;


}




int name(arg1, arg2) {


CODE;


return 0;


}

typedef syntax

typedef DEFINITION IDENTIFIER;




typedef unsigned char byte;

struct syntax

struct NAME {
ELEMENTS;
} [VARIABLE_NAME];



new type - struct syntax

typedef struct [STRUCT_NAME] {


ELEMENTS;


} IDENTIFIER;

union syntax

union NAME {


ELEMENTS;


} [VARIABLE_NAME];




similar to struct, memory overlaps