[C language-10] C language Reserved words

Source: Internet
Author: User

One    data type keywords 12:    1. Char    2. Short   3. Int    4. Long    5. Enum   6. Float   7. Double   8. Signed   9. Unsigned   10. Struct   11. union   12.void  Two control type keywords 12     loop statements     1.for      2.do    3.while    4. break    5.continue  Conditional Statement     6.if    7.else    8. goto    switch Statements     9.switch    10.case    11.default     Return statement     12.return    three    storage type 4    1. auto      //declaration of automatic variables, usually no, local variables are auto type    2.static  // Declare a static variable    3.extern//Declare an external variable     4.register  //declaring register variables   Four other keywords 4    1.const  //Declaration of read-only variables     2.sizeof  //operator, calculating data consumption memory    3.typedef  //custom type      4.volatile  //modified variables may change        note, do not take define, include as the keyword, they are just precompiled pseudo-directives. The C99 standard adds 5 more keywords, namely restrict    it can only be used to qualify and constrain pointers, and indicates that pointers are the only and initial way to access a data object     inline     introverted function, used in C + +, it is an optimization implementation of macro definition     _bool    unsigned int type, Defined as Boolean in C99, can only hold 0, 12 values     _complex    plural class type     _imaginary     Pure Imaginary Type         C11 standard on the basis of C99 added a keyword     _ generic  -Generic  

[C language-10] C language Reserved words

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.