Joke Collection Website - News headlines - What is the C compiler?

What is the C compiler?

The c compiler is a program that compiles a c language program into an object code program, that is, the correct answer should be D.

1. C language is the most popular and widely used high-level process-oriented programming language in the world. C language is obviously better than other high-level languages ??for operating systems and system applications, as well as for occasions where hardware needs to be operated. Many large-scale application software are written in C language.

2. Compilation is the process of using a compiler to generate a target program from a source program written in the source language. The five stages are lexical analysis, syntax analysis, semantic checking and intermediate code generation, code optimization, Object code generation. It mainly performs lexical analysis and syntax analysis, also known as source program analysis. During the analysis process, grammatical errors are found and prompt information is given.

Extended information

Language characteristics of c compiler

For c compiler, the language characteristics are as follows:

1 , C language is a structured language. It has a clear hierarchy, facilitates the organization of programs in a modular manner, is easy to debug and maintain, and has extremely strong performance and processing capabilities.

2. The C language has rich operators and data types, making it easy to implement various complex data structures. It can also directly access the physical address of the memory and perform bit-level operations.

3. Since C language realizes the programming operation of hardware, it integrates the functions of high-level language and low-level language. It can be used for both system software development and application software development.

4. In addition, the C language also has the characteristics of high efficiency and strong portability. Therefore, it has been widely ported to various types of computers, resulting in multiple versions.

Reference material: Baidu Encyclopedia-c program

Reference material: Baidu Encyclopedia-compilation