Next: Scope, Previous: Compatible Types, Up: Top [Contents][Index]
C converts between data types automatically when that seems clearly necessary. In addition, you can convert explicitly with a cast.
• Explicit Type Conversion | Casting a value from one type to another. | |
• Assignment Type Conversions | Automatic conversion by assignment operation. | |
• Argument Promotions | Automatic conversion of function parameters. | |
• Operand Promotions | Automatic conversion of arithmetic operands. | |
• Common Type | When operand types differ, which one is used? |