32 keywords in C Language

Source: Internet
Author: User

Auto: automatic variable declaration is generally not used
Double: Declares double-precision variables or functions.
INT: Declares integer variables or functions.
Struct: Declares struct variables or functions.
Break: jump out of the current loop
Else: The Condition Statement denies the branch (used with if)
Long: declares a long integer variable or function.
Switch: Used for the switch statement
Case: switch statement Branch
Enum: Declares the enumeration type.
Register: Declares register variables.
Typedef: Used to get an alias for the data type (of course there are other functions)
CHAR: declare struct variables or functions
Extern: declared variables are declared in other files (or can be seen as referenced variables)
Return: The Return Statement of a subroutine (either with or without parameters)
Union: Declares the Union data type.
Const: declare Read-Only variables
Float: Declares floating point variables or functions.
Short: declare short integer variables or functions
Unsigned: Declares unsigned type variables or functions.
Continue: ends the current cycle and starts the next cycle.
For: a loop statement)
Signed: Declares signed variables or functions.
Void: declares that a function has no return value or no parameter and has no type pointer (basically, these three functions)
Default: "other" branch in the switch statement
Goto: unconditional jump statement
Sizeof: calculates the length of the data type.
Volatile: indicates that variables can be implicitly changed during program execution.
Do: the body of the loop statement.
While: the loop condition of the loop statement
Static: declare static variables
If: Condition Statement

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.