Home  >  Article  >  Backend Development  >  What is the extension of C language source program?

What is the extension of C language source program?

青灯夜游
青灯夜游Original
2020-08-19 11:32:4450544browse

The extension of the c language source program is: ".c". The sequence of instructions composed of C language is called C source program, and the suffix of the source program file is ".c". Note: In most operating systems, the case of the suffix of C source code files does not matter. For example, "index.C" and "index.c" refer to the same file; but experienced programmers usually use lowercase.

What is the extension of C language source program?

Recommended: "C Video Tutorial"

C language is a process-oriented, abstract language It is a 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.

For computer languages, the name of the source code file will have a specific suffix. For example, the suffix of C source code files is ".cpp"; the suffix of Python source code files is ".py"; and the suffix of C source code files is ".C".

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", 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".

One thing that needs to be emphasized is that in most operating systems, the case of the suffix of C source code files does not matter, such as "index.C" and "index.c" refer to is the same file. But experienced programmers usually use lowercase.

For more related programming knowledge, please visit: Programming Learning Website! !

The above is the detailed content of What is the extension of C language source program?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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