After the C language source program is compiled, what is the suffix of the generated file?

Release: 2020-03-05 13:30:50
Original
26511 people have browsed it

After the C language source program is compiled, what is the suffix of the generated file?

The suffix of the C language source file is .c, the suffix of the compiled file is .obj, and the suffix of the connected executable file is .exe.

Recommended: "c Language Tutorial"

The compiler converts source code into binary in the following four steps:

Preprocessing, compilation, Assembly, linking

Preprocessing: Precompilation actions, such as macros, static members, etc. are processed at this stage.

Compilation: Generate assembly files, during this process the compiler will optimize the source code

Assembly: Generate assembly files into target files, which are actually executable (Unix:.o Win: .obj)

Link: Link the target file into an executable file (Win:.exe)

For more programming-related content, please pay attention to the php Chinese websiteIntroduction to Programmingcolumn!

The above is the detailed content of After the C language source program is compiled, what is the suffix of the generated file?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!