32 keywords and 9 control statements for C language

Source: Internet
Author: User
Tags goto

C's 32 keywords Auto: Declares that automatic variables are generally not used
Double: declaring a dual-precision variable or function
int: Declaring an integer variable or function
struct: Declares struct-body variable or function
Break: Jump out of the current loop
ELSE: Conditional statement Negation branch (with IF)
Long: Declares a variable or function of length integer
SWITCH: For switching statements
Case: Switch Statement Branch
Enum: declaring enum type
Register: declaring register variable
typedef: Used to alias data types (and of course other functions)
Char: Declaring a character-type variable or function
extern: Declaring a variable is being declared in another file (and can also be considered a reference variable)
Return: Subroutine return statement (can take parameters, also see without parameters)
Union: declaring Union data types
Const: Declaring read-only variables
float: Declaring a floating-point variable or function
Short: Declaring a variable or function with a shorter integer
Unsigned: Declaring an unsigned type variable or function
Continue: End the current loop and start the next cycle
For: A looping statement (can be sensed inexpressible)
Signed: Declaring a signed type variable or function
void: Declares a function with no return value or no argument, declares an untyped pointer (basically three effects)
Default: "Other" branch in a switch statement
Goto: Unconditional Jump Statement
sizeof: Calculating data type length
Volatile: Explanatory variables can be implicitly changed in program execution
Do: loop body of a looping statement
While: loop condition of a looping statement
Static: Declaring a static variable
if: Conditional statement
C Language 9 Control Statements ①if () ~else conditional Statement ②for () ~ Loop statement ③while () ~ Loop statement ④do~while () Loop statement ⑤continue end this loop statement ⑥bre AK Abort Execute switch or LOOP statement ⑦switch Multi-Branch SELECT statement ⑧goto turn statement ⑨return return statement from function

32 keywords and 9 control statements for C language

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.