Basic knowledge of C language (i.)

Source: Internet
Author: User

It must be clear on the whole:

1) program structure is three kinds: sequential structure, selection structure (branch structure), cyclic structure.

2) Read the program from the main () entrance , and then read from the top of the sequence (the loop to do the loop, hit the choice to do the choice), there is only one main function .

3) The computer's data is stored in a binary form in a computer. The location where the data is stored is his address.

4) bit is a bit and refers to 0 or 1. Byte refers to a byte, a byte = eight bits.

The concept is often tested:

1, compilation preprocessing is not a part of C language, does not occupy the running time, do not add semicolons. C language compiled programs are called source programs, which are stored in a text file in ASCII values.

Preprocessing command, must not appear semicolon.

3, each C language program in the main function is there and only one.

4. Functions can no longer be defined in a function.

5, algorithm: Can not input, but must have output.

6. Break can be used for looping structures and switch statements.

7, the comma operator is the lowest level, the value of the second-to-last assignment.

Basic knowledge of C language (i.)

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.