關(guān)鍵字
在c語(yǔ)言中,為了定義變量、表達(dá)語(yǔ)句功能和對(duì)一些文件進(jìn)行預(yù)處理,還必須用到一些具有特殊意義的字符,這就是關(guān)鍵字,我們用戶(hù)自己定義的變量函數(shù)名等要注意不可以與關(guān)鍵字同名。
C語(yǔ)言中的32個(gè)關(guān)鍵字
auto ? double ? int ? ? struct
break ? else ? long ? switch
case ? ? enum ? ?register ? ?typedef
char ? ?extern ? return ? ? union
const ? float ? short ? ? ?unsigned
continue ? ?for ? signed ? ?void
defaul ?tgoto ?sizeof ? ? ?volatile
doifstaticwhile