C language keyword Daquan (a total of 32) _c language
Source: Internet
Author: User
C language A total of 32 keywords, as described below:
Auto: Declaring automatic variables
Short: Declaring an integer variable or function
int: Declaring an integer variable or function
Long: Declaring an integer variable or function
float: Declaring floating-point variables or functions
Double: declaring a double variable or function
Char: Declaring a character type variable or function
struct: Declaring struct-body variables or functions
Union: Declaring a shared data type
Enum: Declaring an enumeration type
typedef: Used to alias data types
Const: Declaring read-only variables
Unsigned: Declaring unsigned type variables or functions
Signed: Declaring a signed type variable or function
extern: Declaring a variable is declared in another file
Register: Declaring Register variables
Static: Declaring statically variable
Volatile: Description variables can be implicitly changed in program execution
Void: Declares that the function has no return value or no arguments and declares no type pointer
if: Conditional statement
ELSE: Conditional Statement Negative branch (used with IF)
Switch: For switching statement case: switch Statement Branch
For: A circular statement
Do: loop body of the loop statement
While: Looping conditions for circular statements
Goto: Unconditional Jump Statement
Continue: End current loop, start next round loop
Break: Jump out of the current loop
Default: The "other" branch in a switch statement
sizeof: Calculating data type length
Return: The subroutine returns the statement (can be with parameters or without parameters) loop condition
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