1. The function printf ("") can output any fixed content in double quotes.
2. You must precede the program with the pre-processing command .
3. #include <stdio.h> not required ";", ":".
4. Any program must contain one: main function main.
5. Each statement must be followed by: a semicolon .
6. If the content branch is displayed, you can add the newline character \ nin the double quotation marks of the printf statement.
7. A value that cannot be changed is called a constant , and the amount whose value can be changed is called a variable .
8.int defines an integer variable, double defines a dual-precision floating-point variable.
9.
:
do{
Loop Body Statement
}while (expression)
10. Judge a three-digit number.
printf (" single digit is:%d\n", n%); printf (" 10 digits are:%d\n", n/); printf ("The Hundred figures are:%d\n",n/);
C-Language Summary (2)