Basic knowledge of C language (I), basic knowledge of C Language

Source: Internet
Author: User

Basic knowledge of C language (I), basic knowledge of C Language

In general, it must be clear:

1) There are three program structures: sequential structure, selection structure (branch structure), and cyclic structure.

2) The read program should read from the main () entry and then from the top order (when a loop is encountered, the choice is selected). There is only one main function.

3) Computer Data is saved in binary format in the computer. The location where the data is stored is its address.

4) bit indicates 0 or 1. Byte is a byte. one byte is eight digits.

Concepts:

1. Compile and pre-process is not part of the C language. It does not take up the running time, and does not add points. C language-compiled programs are called source programs, which are stored in text files with ASCII values.

The pre-processing command must not contain a semicolon.

3. Each C language program has only one main function.

4. You cannot define a function in a function.

5. algorithm: no input is allowed, but output is required.

6. break can be used for loop structures and switch statements.

7. The comma operator has the lowest level, and the value is the second to the last.

Related Article

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.