+                        Unary Identity operator;  Binary Addition operator
 
 +exp1                   Unary Identity
 
 exp1 + exp2             Binary arithmetic addition
 exp1                    any real or integer expression expression
 exp2                    any real or integer expression
 
    The + operator has two different meanings, depending upon the
    context.
 
    As a unary operator, + does not affect the value yielded by exp1; it
    does, however, prevent the C compiler from arbitrarily combining
    elements of exp1 with surrounding expressions.  For example:
 
           i = +(a + b) + c;
 
    As a binary operator, + performs addition.  The result depends upon
    the operands and follows the usual arithmetic conversion.  Examples:
 
           i  = 3223 + 88;      /* i == 3311 */
           x  = 3.5 + 4.5;      /* x == 8.0  */

Seealso:



This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster