CodesandTutorials
Home   Programming   Hardware   Networking
 
Next generation website theme is here (black, neon and white color) - Reduces eye strain and headache problems.  

C Categories

Bitwise Operators

« Previous Point - Logical Operators Next Point - Shift Operators »

Description

These bitwise operators allows you to calculate the result at the bit level of a given integer number or a character value.

Types

Bitwise AND Operator

  • It is represented by '&' operator.
  • To check a particular bit is ON or OFF.
  • To set OFF a particular bit of a given number.

Bitwise OR Operator

  • It is represented by '|' operator.
  • To set ON a particular bit of a number

Bitwise XOR Operator

  • It is represented by '^' operator.
  • To toggle the bit ON and OFF

« Previous Point - Logical Operators Next Point - Shift Operators »

Tip Box

Operator precedence

Priority Operator
1st &
2nd ^
3rd |

Advertisement

Rate Website
   

 


Terms of Use | Privacy Policy | Contact Us
CodesandTutorials © 2014 All Rights Reserved