C语言关键字描述和举例
时间: 2023-03-14 21:46:11 浏览: 170
C语言的关键字包括:auto, break, case, char, const, continue, default, do, double, else, enum, extern, float, for, goto, if, int, long, register, return, short, signed, sizeof, static, struct, switch, typedef, union, unsigned, void, volatile, while。举例:auto用于声明自动变量,如:auto int i; break用于终止当前循环,如:while(1) { ... break; ... }
阅读全文