C language keyword sorting

Source: Internet
Author: User

C Language Overview:

    • Strongly typed, process oriented
    • Concise, Flexible: 32 keywords (C99 standard added 5, C11 7), 9 control statements, 34 operators
    • Rich data types, rich operator
    • Structured (Control statements), modularity (functions)
    • Soul, Feature: Hands

Data type (type) 13: Void signed unsigned short long int float double char enum struct Union typedef (_BOOL _imaginary _c Omplex)

Type-qualified, decorated (type Specifier/qualifiers) 2: const volatile (restrict inline)

Storage category for variables (storage Class) 4: auto static extern register

Operator (operator) 1: sizeof

Control 12: Goto return break Continue if else switch case default do and for

DataType (type):

    • void
    • Signed unsigned short long int
    • Float double
    • Char
    • Enum
    • struct UNION
    • typedef
    • (_bool _imaginary _complex)

Type-qualified, decorated (type Specifier/qualifiers):

    • Const
    • Volatile
    • (Restrict inline)

Storage category for variables (storage Class):

    • Auto
    • Static
    • extern
    • Register

Operator (operator):

    • sizeof

Control:

    • Goto
    • Return
    • Break continue
    • If Else
    • Switch case Default
    • Do While
    • For

C99 standard new 5:restrict inline _bool _imaginary _complex

C11 Standard added 7:_alignas _alignof _atomic _static_assert _noreturn _thread_local _generic

Total 32+5+7=44 of keywords

C language keyword sorting

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.