The number of binary arithmetic operator in C is?
a) 5
b) 4
c) 6
d) 7
Answers
Answered by
17
C) is the right option 6
please mark it as a BRAINLIST..........please
please mark it as a BRAINLIST..........please
Answered by
4
The number of binary arithmetic operator in C is 6.
Answer: Option (c)
Explanation:
The C language supports 6 types of arithmetic bit wise operators. They are as follows,
- Binary AND operator: It will copy a bit to the resultant value if it exists in both operators A and B.
- Binary OR operator: It will copy a bit if either both operators A or B exists.
- Binary XOR operator: It will copy the bit if the value is set in ‘one operand’ but not both operands.
- Binary unary operator: It will flip the bits.
- Binary Left shift operator: It will move the left operands by using the ‘number of bits’ specified by right operands.
- Binary Right shift operator: It will move the right operands by using the ‘number of bits’ specified by left operands.
Similar questions