Export (0) Print
Expand All

7.2.6.1 Unary numeric promotions

Visual Studio .NET 2003

Unary numeric promotion occurs for the operands of the predefined +, , and ~ unary operators. Unary numeric promotion simply consists of converting operands of type sbyte, byte, short, ushort, or char to type int. Additionally, for the unary operator, unary numeric promotion converts operands of type uint to type long.

Show:
© 2014 Microsoft