A.6.1 Integral Promotion

A character, a short integer, or an integer bit-field, all either signed or not, or an object of enumeration type, may be used in an expression wherever an integer may be used. If an int can represent all the values of the original type, then the value is converted to int; otherwise the value is converted to unsigned int. This process is called integral promotion.

TCPL/A.06.1_Integral_Promotion (2008-02-23 15:34:08由localhost编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.