C语言的合法关键字是由C语言标准规定的,包括以下32个关键字:
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
这些关键字在C语言中具有特殊的含义,不能作为变量名或函数名等标识符使用。在编写C语言程序时,需要避免使用这些关键字作为标识符,以免造成语法错误。