waht does & mean in c

Explanation of the '&' Operator in C

The '&' operator in C is used for the bitwise AND operation and the address-of operation.

Bitwise AND Operation: - The '&' operator performs a bitwise AND operation on each pair of corresponding bits of the two operands. - It returns 1 if both bits are 1, otherwise, it returns 0.

Address-of Operation: - The '&' operator is also used to obtain the memory address of a variable.

For example: - In the expression a & b, the '&' operator performs a bitwise AND operation on variables 'a' and 'b'. - In the expression &a, the '&' operator returns the memory address of variable 'a'.

[[SOURCE 1]]