DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Complying with standard C

Special cases

There are a few surprises in this area. For example, signed int behaves the same as int except possibly for bit-fields, in which a plain int may denote an unsigned-behaving quantity.

Another interesting note is that each enumeration type must be compatible with some integral type. For portable programs this means that enumeration types effectively are separate types, and, for the most part, the ANSI C standard views them in that manner.


Next topic: Composite type
Previous topic: Compatible function types

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005