C Bitwise Operators
Get Certified in C Programming and Take Your Skills to the Next Level
Program 1
// Bitwiseoperators in C
// & | ^ ~ << >>
#include<stdio.h>
#include<conio.h>
int main()
{
system("cls");
int a;
a=((5&5)|5)<<3;
printf("%d",a);
return 0;
}
/*
a=13>>2;
a=5<<3;
int a=~-9;
int a=5&5;
printf("%d",a);
*/
Your opinion matters
Please write your valuable feedback about DataFlair on Google

