C source Program structure characteristics (test center)

Source: Internet
Author: User

structure Characteristics of C source program

  1. A C language source program can consist of one or more source files.  

  2. Each source file can consist of one or more functions.  

  3. A source program has one and only one main function, that is, the main function, regardless of how many files it consists of. If a program does not have a main function, the program does not have the ability to run

  4. Functions are executed only when they are called, and the main function has a system call

  5. There can be preprocessing commands in the source program ( the Include command is only one of them ), and the preprocessing commands should usually be placed at the front of the source file or source program.  

  6. For each description, each statement must end with a semicolon. However,you cannot add semicolons after preprocessing commands, function headers, and braces "}".  

  7. identifiers, you must add at least one space between the keywords to indicate the interval. If you already have a distinct spacer, you can no longer add spaces to the interval.  

C language Vocabulary

The words used in the C language are divided into six categories: identifiers, keywords, operators, separators, constants, annotation characters, and so on.  

C source Program structure characteristics (test center)

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.