C Language Brief

Source: Internet
Author: User

As one of the most basic languages, C language is a powerful process-oriented language.

1 Process Control

C language Process Control is basically the same as all language flow control, but there are less details of the difference

Sequential Loop selection

2 functions

function is the main way to solve the problem in C language

Use functions to quickly and efficiently use code

Design and analysis in a modular format

3 hands

Pointer is address

Address is the number of units of memory

Pointer variables are variables that hold memory addresses

C language is its powerful pointer ability to handle a variety of hardware-related problems, extremely fast running speed is difficult to match other languages

4 Memory allocation

Memory allocation is a complex issue

Usually the operating system will allocate memory to the program to use, the program to handle this memory.

The memory of the static variable is controlled by the operating system and released on the stack

The memory of the dynamic variable is controlled by the program and finally released by the program Free (p) is located in the heap.

C Language Brief

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.