while programing C ..how that can be known??
i am working in C -wiht gcc compiler.
How to distinguish %26amp; (addres of operator) and %26amp;(bitwise and operator?
.
Its simple
The address of operator should have a single variable name on its right side.
The bit wise AND operator should have two operands on its both sides.
**********
Vasu M
**********
Reply:%26amp;(address of operator) is an unary operator, so it can be used only on one operand
e.g. a=%26amp;b;
while
%26amp;(bitwise operator) is a binary operator, so it can be used only on two operands.
e.g. a=b%26amp;c;
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment