C primer plus Fifth Edition

Source: Internet
Author: User

1. C language refreshes the output buffer in three cases: the buffer zone is full, and line breaks and inputs are encountered.

2. in C language, the compiler can select which parameter value in the function is calculated first, which improves the compiler efficiency. However, if incremental operators are used in parameters, this may cause trouble. I. e. Do not be too smart.

3. a c variable may have three types of links: External links, internal links, and empty links.

4. a c variable may have the following storage periods: static storage periods and automatic storage periods.ProgramThe variables that exist in the running process, while the dynamic storage period refers to the situation where the memory is allocated when entering the region, and the memory is released when it leaves.

5. there are four Storage types: auto, register, static, and extern. Auto is a local and descriptive item. Register cannot obtain an address. static storage has static storage, even ifCodeNot run, extern type, if the variable has a file acting on, it must be an external link.

6. Scope: The file acts on, the function acts on, and the code block scope.

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.