Details of C language keywords
The C language has a total of 32 keywords, as follows:
auto: declares an automatic variable
short: declares a short integer variable or function
int: declares an integer variable or function
long: declares a long integer variable or function
float: declares a floating point type Variable or function
double: declare double-precision variable or function
char: declare character variable or function
struct: declare structure variable or function
union: declare common data type
enum: declare enumeration type
typedef: used to alias data type
const: Declare a read-only variable
unsigned: Declare an unsigned type variable or function
signed: Declare a signed type variable or function
extern: Declare a variable in another file Declare
register http://www.cppentry.com Programming Development Programmer's Introduction: Declare a Register Variable
static: declare a static variable
volatile: indicate that the variable can be implicitly changed during program execution
void: declare that the function has no return value or no parameters, declares an untyped pointer
if: conditional statement
else: conditional statement negates the branch (used in conjunction with if)
switch: used for switch statement case: switch statement branch
for: a kind of loop statement
do: loop body of loop statement
while : the loop condition of the loop statement
goto: unconditional jump statement
continue: end the current loop, start the next cycle
break: jump out of the current loop
default: switch the "other" branch in the statement
sizeof: calculate the length of the data type
return: return the subroutine Statement (with or without parameters) loop condition
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326355971&siteId=291194637
Recommended
Ranking