20120113

Program in C to learn bitwise and operator

//========================
//Program in C to learn bitwise and operator
//========================
#include<stdio.h>
int main()
{
printf("\n Bit wise and demo \n");
unsigned int a=60;
unsigned int b=13;
unsigned int c=0;
c=a & b;
printf("Result to display is: %d \n" ,c);
return 0;
}

No comments:

Post a Comment