Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What do you mean by grammatical errors in C language debugging?
What do you mean by grammatical errors in C language debugging?
Grammatical errors in C language are grammatical errors. "Grammatical error" refers to an incorrect statement entered during the code input process, which belongs to a grammatical error in the program.

1, grammatical error, for example: printf ("trete") is a sentence with grammatical errors and there is no plus sign. The correct one should be: printf("trete "), otherwise a syntax error will pop up.

2. In C/C++, the format of the statement is incorrect, such as writing less semicolons, writing less or more brackets, and writing wrong keywords.

3. If the java language is developed under myeclipse, this error is the language coding error used by the scripting language, which can be changed to UTF-8 or GBK. In the Java language, the following program is correct: system. out.println ("Hello World") is incorrect: System.out.println(Hello World).

Extended data

Characteristics of c language

1, C language is a procedural language with structured programming, variable scope and recursive functions.

2. The parameters passed by C language are all values, or a pointer can be passed.

3. Different variable types can be combined with structures.

4. Only 32 reserved keywords make the naming of variables and functions more flexible.

5. Some variable types can be converted, such as integer and character variables.

6. With pointers, C language can easily control the memory at a low level.

7. Compiler preprocessor makes the compilation of C language more flexible.

Baidu encyclopedia -C language