Published by: Nuru
Published date: 21 Jun 2021
Assignment Operator can be learned by the following points:
variable=expression
v op=exp;
/* Here v is a variable, exp is an expression and op is a C binary arithmetic operator. The operator op= is called shorthand assignment operator. */
is equivalent to
v = v(op) Exp;
x=x+5;
exp1 op= exp2 This is equivalent to writing
exp1 = exp1 op exp2