C 一元运算符

一元运算符出现在其操作数前,并按照从右到左的顺序关联。

语法

unary-expression:
postfix-expression
++ unary-expression
-- unary-expression
unary-operator cast-expression
sizeof unary-expression
sizeof ( type-name )

unary-operator:以下项之一
& * + - ~ !

请参阅

C 运算符