What does this equals to sign mean n >>= 1

long long int pow_exp(long long int x, long long int n,long long int c)
{long long int res = 1;
while (n > 0)
{if (n & 1)
res = res * x;
res%=c;
res=(res+c)%c;
x = x * x;
x%=c;
n >>= 1;
}
return res%c;
}

@angivanshikaangi
“>>” is the bitwise right shift operator.
n >>= 1 is equivalant to writing n = n >> 1 which implies put n equal to the result of shifting one bit of n to the right which in simple terms would be equal to n = n / 2 ;
The only difference would be bitwise operators are the fastest operators so n >>= 1 is faster than n /= 2 although its a very tiny difference.