Search This Blog

Translate

C program Accept an integer and find out multiply by 2 and division by 2 using bit wise operator

use of bitwise operators,problems on bitwise operators in c,bitwise not operator in c example,application of bitwise operators in c,bit shift operator c,c bitwise shift,c programming shift,binary operation in c



C program Accept an integer and find out multiply by 2 and division by 2 using bit wise operator



#include
#include
void main()
{
int no;
clrscr();
printf("Enter the number=");
scanf("%d",&no);
printf("\n\nThe number is multiply by 2 is=%d",no<<1 font="">
printf("\n\nThe number is Divide by 2 is =%d",no>>1);
getch();
}


C program Accept an integer and find out multiply by 2 and division by 2 using bit wise operator


use of bitwise operators,problems on bitwise operators in c,bitwise not operator in c example,application of bitwise operators in c,bit shift operator c,c bitwise shift,c programming shift,binary operation in c

C Program example List

Google+ Badge