Which of the following is not a bitwise operator?
a) |
b) ^
c) .
d) <<
Answers
Answered by
3
Answer:
I think option B
hope it helps you
mark as Brainlist
Answered by
0
Option c) . (dot)
dot (.) is not a bitwise operator.
- The justification: Bitwise operators, all but the dot(.) operator. Shift Left | : Bitwise OR : Bitwise XOR
- In C or C++, the | (bitwise OR) accepts two numbers as operands and performs OR on each bit of the two numbers. If any of the two bits is 1, the result of OR is 1. When two numbers are used as operands for the (bitwise XOR) function in C or C++, each bit of the two operands is XORed. If the two bits are distinct, XOR produces a value of 1.
- There are some key distinctions between them. The list is as follows: Only Boolean values are returned by the logical AND operator, which operates on Boolean equations. The bitwise AND operator accepts and returns data of the integer, short int, long, and unsigned int types.
- Bitwise operators can speed up and improve the efficiency of some code since they allow for higher precision and consume less resources. Encryption, compression, graphics, communication across ports or sockets, embedded systems programming, and finite state machines are a few examples of applications for bitwise operations.
#SPJ3
Similar questions