C语言教程:32个保留关键字

关键字也叫保留字,在编写程序时不能将关键字用作变量名称,常数名称等。C语言中只有32个保留字(关键字)。

c语言中的32个关键字列表如下:

autobreakcasecharconstcontinuedefaultdo
doubleelseenumexternfloatforgotoif
intlongregisterreturnshortsignedsizeofstatic
structswitchtypedefunionunsignedvoidvolatilewhile

稍后我们将了解所有C语言关键词。

 

THE END