term1 Definition1term2 Definition2term3 Definition3
Please sign in to your Google account to access your documents:
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).
Need help typing ? See our FAQ (opens in new window)
Please sign in to create this set. We'll bring you back here when you are done.
Discard Changes Sign in
Please sign in to add to folders.
Sign in
Don't have an account? Sign Up »
You have created 2 folders. Please upgrade to Cram Premium to create hundreds of folders!