- Assignment operator is used to assign value to an variable.
- Example : a = b. Assigns values from right side operands to left side operand.
- Assignment operator is binary operator which operates on two operands (variable).
Example :
int main()
{
int a;
// variable a is assigned integer value 55
a = 55;
return 0;
}
0 Comments