C - Assignment Operators
Assignment operators combine assignment with arithmetic or bitwise operations.
Prerequisites
List
- =,- +=,- -=,- *=,- /=,- %=,- &=,- |=,- ^=,- <<=,- >>=
Example
#include <stdio.h>
int main(void) {
    int x = 10;
    x += 5;
    x *= 2;
    printf("x = %d\n", x);
}