Showing posts with label interpret. Show all posts
Showing posts with label interpret. Show all posts
Sunday, 27 November 2011
What is operator promotion?
If an operation is specified with operands of two different types, they are converted to the smallest type that can hold both values. The result has the same type as the two operands wind up having. To interpret the rules, read the following table from the top down, and stop at the first rule that applies.
The following example code illustrates some cases of operator
Subscribe to:
Posts (Atom)