操作符
單目操作符
C語言中,0表示假,非0表示真
sizeof
++
(類型)強制類型轉換
關系操作符、邏輯操作符、條件操作符
逗號表達式
d的結果就是:
常見關鍵字
const 常屬性
enum 枚舉
extern 聲明外部符號的
register 寄存器
signed 有符號的
unsigned 無符號的
static 靜態(tài)的
struct 結構體
typedef 類型重命名
union 聯(lián)合體/共用體
typedef
static
static修飾局部變量
static修飾全局變量
static修飾函數(shù)
register寄存器關鍵詞
define定義常量和宏
文章來源:http://www.zghlxwxcb.cn/news/detail-861377.html
文章來源地址http://www.zghlxwxcb.cn/news/detail-861377.html
到了這里,關于C語言操作符和關鍵字的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網(wǎng)!