& Represents two types of operators, one of which represents the value operator, and the other is the bitwise AND value operator int A = 1; int * P = &; // & A indicates that the address in a is obtained and then assigned to the pointer variable, that is, & A indicates the address in memory of variable. You can use the printf function to output this address.
Bitwise AND operator such as A & B; indicates bitwise and operation of binary values of A and B, such as 8 & 10, where the binary value of 8 is 0000 1000, the binary value of 10 is 0000 1010, so the result of 0000 1000 (decimal 8) & 0000 1010 (10 in decimal 10) is 0000 1000 (that is, 10 in decimal 8) therefore, if both numbers are true (OR 1), the result is true, if one of the two digits is false (or 0), the result is false.
Reproduced from: http://zhidao.baidu.com/link? Url = uRHTcffnOWTXUieP9sWQwHFwaX3TmLDfX9XYJ9A26N4h6nsQMKW7uFGmP-PqNUbA3UGHURtyXOHTl7 _-fhrzh _
& What is the operator ()