structure Characteristics of C source program
-
A C language source program can consist of one or more source files.
-
Each source file can consist of one or more functions.
-
A source program has one and only one main function, that is, the main function, regardless of how many files it consists of. If a program does not have a main function, the program does not have the ability to run
-
Functions are executed only when they are called, and the main function has a system call
-
There can be preprocessing commands in the source program ( the Include command is only one of them ), and the preprocessing commands should usually be placed at the front of the source file or source program.
-
For each description, each statement must end with a semicolon. However,you cannot add semicolons after preprocessing commands, function headers, and braces "}".
-
identifiers, you must add at least one space between the keywords to indicate the interval. If you already have a distinct spacer, you can no longer add spaces to the interval.
C language Vocabulary
The words used in the C language are divided into six categories: identifiers, keywords, operators, separators, constants, annotation characters, and so on.
C source Program structure characteristics (test center)