What does the & operator in c++ do (as opposed to the && operator?)
What does the & operator in c++ do (as opposed to the && operator?)
There are two different uses for the & operator. It is a bitwise and as well as the reference operator.
Is it in a piece of code that you are confused over or something?
Last edited by SilentStrike; 01-10-2002 at 04:54 AM.
The '&' operator is used the following way:
return (13 & 4);
OR LATER:
return (13 & 8);
Refer to this thread:
http://www.cprogramming.com/cboard/s...&threadid=8562
-Govtcheez
[email protected]