answersLogoWhite

0

What is the definition of bitwise?

Updated: 8/19/2019
User Avatar

Willess

Lvl 1
11y ago

Best Answer

Bitwise operations are those that operate on one or more bits of data, as opposed to larger units of data. For example, in C++, there are the bitwise operators "^" (exclusive or), "&" (and), "|" (or), and "~" (bitwise complement). Using these symbols, it is possible to determine if a bit is set or unset, combine sets of bits, find common bits, or invert all the bits at once. This allows the use of a single field (such as an int variable) to hold multiple pieces of data. Algorithms that concern themselves with saving space, such as compression algorithms, embedded system code, and so on, will often use bitfields instead of entire bytes of data whenever practical.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the definition of bitwise?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many bitwise operators are present in Java?

The bitwise & operator performs a bitwise AND operation. The bitwise ^ operator performs a bitwise exclusive OR operation. The bitwise | operator performs a bitwise inclusive OR operation.


All the bitwise operators have the same level of precedence in Java true or false?

False: highest precedence & bitwise AND ^ bitwise XOR | bitwise OR lowest precedence


How do you represent assignment by bitwise XOR operator?

The bitwise XOR operator is ^, or shift 6. The bitwise XOR assignment operator is ^=.


What is the use of bitwise operator in c plus plus?

They perform bitwise operations like AND (&), OR (|), XOR (^) and NOT (~).


What is use of l in c language?

Bitwise OR.


What are Bit Manipulations in C programming?

in C you can manipulate the individual bits of a data item. << leftwise shift >> rightwise shift & bitwise AND | bitwise OR ~ bitwise complement (flips all bits) I can't go intoa tutorial here in how to use these, but google it - i just did and there's tons of info out there.


What are different type's operators?

The different types of operators are as follows: *Arithmatic operator *Relational operator *Logical operator *Assignment operator *Increment/Decrement operator *Conditional operator *Bitwise operator *Special operator


Explain the Difference between bitwise operator ' and ' and address operator ' and ' of pointer?

The bitwise logical operator and (&) calculates the bitwise logical and of two integral values. It is a binary operator.The address of (&) operator returns the address of the value to its right. It is a unary operator.The distinction between the two is one of context. The logical and operator will follow (and be preceeded by) a value, while the address of operator will follow an operator.


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

bitwise OR is used..


Which bitwise operator is suitable for turning off a perticular bit in a number?

AND, or to be more precise: OR


What are logical classes in c plus plus?

There is no such thing. Logic is bitwise operation, not a data type.


What is a bit shift?

A bit shift is a bitwise operation in which the bits in a value are shifted left or right.