Home>Article>Backend Development> What is the suffix of the C language source program file name?
The suffix of the c language source program file name is ".c". The C language source program is compiled by the C compiler to generate a binary file (object file) with the suffix ".obj", and then a software called "Link" connects the object file with various library functions provided by the C language. Get up and generate an executable file with the suffix ".exe".
The operating environment of this tutorial: Windows 7 system, c99 version, Dell G3 computer.
C language is a process-oriented, abstract, general-purpose programming language that is widely used in low-level development. C language can compile and process low-level memory in a simple way. C language is an efficient programming language that only generates a small amount of machine language and can run without any operating environment support. Although the C language provides many low-level processing functions, it still maintains cross-platform characteristics. C language programs written in a standard specification can be executed on many computer platforms including operating platforms such as embedded processors and supercomputers. Compile.
The instruction sequence composed of C language is called C source program, and the suffix of the source program file is ".c". The source program is compiled by a C compiler to generate a binary file (called an object file) with the suffix ".obj". Then a software called a "link" connects the object file with various library functions provided by the C language. Get up and generate an executable file with the suffix ".exe".
The flow chart from writing source code in C language, and then going through the compiler and linker to the final executable program is roughly as shown in the figure below.
Related recommendations: "C Language Video Tutorial"
The above is the detailed content of What is the suffix of the C language source program file name?. For more information, please follow other related articles on the PHP Chinese website!