The assignment operator is '='.
It does not mean equality!
int x = 5; // declaration x = x + 1; // assignment
The value of the right side is computed, then this new value is stored at the memory location associated with the variable on the left side. In this case the new value of x will be 6.