Features of C language

Source: Internet
Author: User

  • Simple and intuitive C language
  • C language is different from the object-oriented windows, the programming language under Windows development efficiency is high, but masking too much technical details, not conducive to beginners to develop intuitive concepts, and learning is very difficult, because Windows itself is a large and complex system, The C language learning is relatively simple and intuitive. The system requirements are also relatively loose, it is very good portability (compared to assembly language). Can directly manipulate the hardware
  • C language is a computer programming language. It has both high-level language characteristics and assembly language features. It can be used as a working system design language, writing system applications, or as an application design language and writing applications that do not rely on computer hardware. It has a wide range of applications, with strong data processing capabilities, not only in software development, but also all kinds of scientific research needs to use the C language, suitable for writing system software, three-dimensional, two-dimensional graphics and animation. Specific applications such as single-chip microcomputer and embedded system development. The advantages of simple and compact, flexible and convenient C language altogether only 32 key words, 9 kinds of control statement, the program writes the form to be free, distinguishes the case to write. Combine the basic structure and sentence of high-level language with the practicality of low-level language. C language can be like assembly language on Bits, bytes and addresses to operate, and these three are the computer's most basic unit of work.
  • Operators that enrich the C language contain a wide range of operators, with a total of 34 operators. The C language handles parentheses, assignments, coercion type conversions, and so on as operators. So the operation type of C language is very rich, the expression type is diversified.                Flexible use of various operators enables operations that are difficult to implement in other high-level languages. Data types rich in c the data types are: integer, real, character, array type, pointer type, struct type, common body type, and so on. Can be used to implement a variety of complex data structure operations. The concept of pointers is introduced to make the program more efficient.
  •         in addition, the C language has powerful graphics features, supporting a variety of displays and drives.       and the computation function, logic judgment function is powerful.                  
  •       c is a structured language   The distinguishing feature of structured language is the separation of code and data, that is, each part of the program is independent of each other except the necessary information exchange. This structured approach makes the program level clear, easy to use, maintain, and debug.    C language is provided to the user in the form of functions, these functions can be easily called, and have a variety of loop, conditional statement control program flow, so that the full structure of the procedure.       
  •         Grammar restrictions are not strict, programming freedom is large   although the C language is also strongly typed language, but its syntax is more flexible,   Allows program writers to have greater degrees of freedom. Allows direct access to physical addresses, operation of the hardware because the C language allows direct access to the physical address, you can directly manipulate the hardware, so it has both high-level language features, but also has a lot of low-level language features, can be like assembly language on Bits, bytes and addresses to operate,    And these three are the most basic computer work unit, can be used to write system software.              
  •        generate target code high quality, program execution efficiency is high   is generally less efficient 10へ20% than the code generated by the assembler.        
  • Wide application range, good portability C language has a prominent advantage is suitable for a variety of operating systems, such as DOS, UNIX, Windows 98. Windows NT, also available for many models. C language has a powerful drawing ability, good portability, and has strong data processing capabilities, so it is suitable for writing system software, three-dimensional, two-dimensional graphics and animation, it is also a high-level numerical computing language.

Features of C language

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.