• 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/3

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;

3 Cards in this Set

  • Front
  • Back

printf

Formatted print

int

integer




The integer data types range in size from at least 8 bits to at least 32 bits. The C99 standard extends this range to include integer sizes of at least 64 bits. You should use integer types for storing whole number values (and the chardata type for storing characters). The sizes and ranges listed for these typesare minimums; depending on your computer platform, these sizes and ranges may belarger.

for

The for statement is a loop statement whose structure allows easy variable initialization, expression testing, and variable modification. It is very convenient for making counter-controlled loops. Here is the general form of the for statement:


for (initialize; test; step)


statement


The for statement first evaluates the expression initialize. Then it evaluates the expression test. If test is false, then the loop ends and program control resumes after statement. Otherwise,if test is true, then statement is executed. Finally,step is evaluated, and the next iteration of the loop begins with evaluating test again.


All three of the expressions in a for statement are optional, and any combination of the three is valid. If you leave out the test expression, you create an infinite loop which can only be broken by the "break" command (if used).