Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What are the keywords used to define decimal integer data in C language?
What are the keywords used to define decimal integer data in C language?
The keywords that define decimal integer data in C language are int, float or double. Commonly used keywords are double: declare double-precision variable or function, int: declare integer variable or function, struct: declare structural variable or function, break: jump out of current loop, else: conditional statement negates branch (used with if), long: declare long integer variable or function, switch: switch statement, and case: switch statement branch.

Explanation of keywords in C language;

Auto: declare an automatic variable.

Break: jump out of the current loop.

Case: switch statement branch

Char: Declares the return value type of a character variable or function.

Const: declare a read-only variable

Continue: End the current cycle and start the next cycle.

Default:switch "default" branch in the switch statement.

Do: the loop body of the loop statement

Double: Declares the return value type of a double-precision floating-point variable or function.

Else: Negative branch of conditional statement (used with if)

Enumeration: Declaring Enumeration Type

Extern: Declares that a variable or function is defined in another file or elsewhere in the file.

Float: Declares the return value type of a floating-point variable or function.

For: loop statement

Goto: unconditional jump statement

If: conditional statement

Int: Declare an integer variable or function.

Long: Declares the return value type of a long variable or function.

Register: declare a register variable.

Return: The subroutine returns the statement (with or without parameters).

Short: Declare a short integer variable or function.

Signed: Declares a signed type variable or function.

Sizeof: Calculate the data type or variable length (that is, the number of bytes occupied).

Static: declare a static variable.

Structure: Declare the structure type.

Switch: used to switch statements.

Typedef: Alias used for data types.

Unsigned: Declare an unsigned type variable or function.

Union: declare * * * theme type.

Void: Declare that the function has no return value or no parameters, and declare an untyped pointer.

Volatile: indicates that variables can be changed implicitly during program execution.

While: loop condition of loop statement

Refer to the above content: Baidu Encyclopedia -C language keywords