Home  >  Article  >  Backend Development  >  What are your understanding and thoughts about C language?

What are your understanding and thoughts about C language?

coldplay.xixi
coldplay.xixiOriginal
2020-08-29 09:48:339766browse

The understanding and thoughts about C language are: 1. C is a general programming language, widely used in system software and application software development; 2. C language is efficient, flexible, feature-rich and expressive. It is popular among programmers due to its strong and high portability characteristics; 3. C language is a language with structured programming and variable scope.

What are your understanding and thoughts about C language?

【Related learning recommendations: C language tutorial video

My understanding and thoughts about C language are:

Interesting C language code, take a look at what this code outputs

 #include <stdio.h>
 int main()
 {
     int i = 43;
     printf("%d\n", printf("%d", printf("%d", i)));
    getchar();
     return 0;
 }

C language Features

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

  • Parameters passed in C language are all passed by value (pass by value). In addition, a pointerpassed by value can also be passed.

  • Different variable types can be combined using structures (struct).

  • There are only 32 reserved keywords, which makes naming variables and functions more flexible.

  • Various variable types can be converted, such as integer and character variables.

  • Through pointers, C language can easily perform low-level control of memory.

  • Compilation preprocessor (preprocessor) makes C language compilation more flexible.

Understand the C language

  • C is a general programming language that is widely used in system software and application software development. Between 1969 and 1973, in order to transplant and develop the UNIX operating system, Dennis Ritchie and Ken Thompson designed and developed it at Bell Labs based on the B language.

  • C language has the characteristics of high efficiency, flexibility, rich functions, strong expressiveness and high portability. It is very popular among programmers and has become the most widely used language in the past 25 years. programming language. Currently, C language compilers are commonly used in various operating systems, such as Microsoft Windows, Mac OS X, Linux, Unix, etc.

  • The design of the C language has influenced many subsequent programming languages, such as C, ObjectiveC, Java, C#, etc.

  • In the 1980s, in order to avoid differences in the C language syntax used by various developers, the American National Bureau of Standards formulated a complete set of international standard syntax for the C language. , called ANSI C, as the standard for the C language. Relevant program development tools from the 1980s to the present generally support ANSIC-compliant syntax.

This is a computer language that has not been exposed for more than 40 years, and it is relatively close to the bottom level. This way you can not only learn the language itself, but also learn some more in-depth knowledge.

If you want to know more about programming learning, please pay attention to the php training column!

The above is the detailed content of What are your understanding and thoughts about C language?. 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