Question

Discuss the significance of BITWISE operators in C programming language. Also, write an interactive C program to illustrate them.

24 Nov 2017
Answer :
Word Count : 510

Bitwise operator

Operator

Description

&

Binary AND Operator copies a bit to the result if it exists in both operands.

|

Binary OR Operator copies a bit if it exists in either operand.

^

Binary XOR Operator copies the bit if it is set in one operand but not both.

~

Binary Ones Complement Operator is unary and has the effect of 'flipping' bits.

<<

______ _____ ___ __________ _________ _______ ______ ___.
__________ _________ ____ _______ __________ ___ _________ ____ ___.
____ _____ ___ _______ ___ ___ ___ ___ _____ ____.
_______ _____ _____ _____ _________ __________ ___ _____ ______ ________ ____ ______.
__________ ___ ________ ______ ____ ____.
_______ __________ ____ ___ _____ __________ ___ _____ ___ _________ _________ ____.
_________ _______ _______ ____ _______ ______ _________.
______ __________ _____ ________ _________.
__________ _____ ________ _______ _________ _______ __________ ___.
______ __________ ___ _______ ___ __________.
_________ ____ _________ ____ _________ _________.
______ ______ _______ _________ _________ _________ ____ _______ ________ ________ _______.
___ ________ __________ __________ ____ __________ __________ ______ ____ _____ ___.
__________ _________ _________ ________ _______ _____ __________.
__________ ___ _____ ________ ____ __________.
____ ___ ________ _________ ____.
_____ __________ ___ _______ _______ _____ _________.
________ __________ _____ _____ ______ ___ ________ _________ _____.
_______ ___ __________ ________ ___ __________ _____ _____ ________ _____ _______.
_________ ________ ____ ________ ____ ________ ___ _____ ____ _____.
_______ ___ ________ ______ __________ ___ _____ ___ __________ __________.
____ __________ ______ ___ _______ _____.
________ ___ ______ ________ ____ ________ __________ ________ _________.
______ ___ ___ __________ _________ _______ ____ ___ __________.
_______ __________ ______ _____ ______ __________ _____ _______ ___ _______ __________.
_______ ________ _____ ________ ________ _____.
____ ________ _______ _______ ____ _______ ___ ____ ___.
________ _______ ________ __________ _________ ____.
_________ __________ __________ _____ _______ ________ _______ ____ __________ _____ _______ ___.
_____ __________ ____ _______ __________.
___ ________ _____ ______ ______ __________ _______.
____ __________ ______ _________ ________.
____ ____ _____ __________ ________ ___ ___ _________.
________ __________ _____ ______ _______ _________ __________ ______ ____ __________ _______ ______.
______ ______ _______ ___ ____.
_____ _________ _________ _____ _________ _________ _____ _______.
___ _______ ________ ________ _____ _________ ____ ____ _______.
_______ ____ _____ ________ _____ ____ ________ ___.

IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top