answersLogoWhite

0

The logic operator provides boolean results of combinations of other boolean expression, some of which might be relational expressions. For example...

bool result = (a < 3) && (b > 4);

The bitwise operator provides the same kind of boolean logic, AND, OR, and NOT, but it does it to the correspondingly ranks bits in one or two integers. For example ...

int result = (a & 0xff) | (!b);

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is the difference between emperor qin shihaung between the soldiers?

the difference between is that the empoer is older and wise


What is the difference between male and female Pokemon stat wise?

There's no difference.


How can I multiply functions in MATLAB?

To multiply functions in MATLAB, you can use the element-wise multiplication operator, which is represented by the symbol &quot;.&quot;. This operator allows you to multiply corresponding elements of two arrays or matrices. Simply use the operator between the two functions you want to multiply, and MATLAB will perform the element-wise multiplication for you.


What is the difference between Drop wise condensation and film wise condensation?

heat transfer rate high


What is the difference between pixies and eleves?

The difference between pixies and elves is that pixies are mischievous. Elves are thought to be wise and beautiful.


What is the difference between D-link switch and a normal cisco switches?

Technology wise there is no such difference.


Which Bit wise operator is used to determine whether a particular bit is on or off?

Bitwise OR [|] operator


What is the difference between 5 and 8 percentage wise?

5 is 62.5% of 8.


What is the difference between dsl filters and adsl filters?

Check out the Wise Geek website for an explanation. Link is below: http://www.wisegeek.com/what-is-the-difference-between-dsl-and-adsl.htm


Compare between projectile weaving and rapier weaving?

Compare the difference between projectile looms and rapier loom by production-wise, price wise. Which machine gives more project with less capital investment.


Which bit wise operator is suitable for putting on a particular bit in a number?

bitwise OR is used..


What is the difference between cheap and frugal?

cheap is when something is not expensive. frugal is to be wise and wary of over spending on something.