int a,b; b = a & gt& gt30; What does this mean?
A and B are signed integer types, which occupy 32 binary bits in memory on a 32-bit machine. The "right shift operator" in C language is a bit operation. The right shift operation is divided into arithmetic right shift and logical right shift. Int is a signed type, that is, there are positive and negative points, which belongs to arithmetic right shift. Arithmetic right shift: A logical right shift based on keeping the sign bit unchanged. (Assuming only the right shift 1 bit) Binary number:100011:110001. b = a & gt& gt30; It means to shift the arithmetic of A to the right by 30 bits and then assign it to B.