C's variable name don't take it anywhere

Source: Internet
Author: User

C advocates the use of variable names of a certain meaning. There are several simple C naming conventions that you must follow:

© only alphabetic characters, math and underscores (_) can be used in names

© the first character of a name cannot be a number

© distinguishing between uppercase and lowercase characters

© You cannot use the C keyword as a name

© names that begin with two underscores or underscores and uppercase letters are reserved for implementation. Names that begin with an underscore are persisted to the implementation, and are used as global identifiers

©c there is no limit to the length of a name, all characters in the name have meaning.

C's variable name don't take it anywhere

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.