A program that read a number & multiply by 4 using bitwise AND in C.

#include<stdio.h>
#include<conio.h>

void main()
{
    int n;
    clrscr();
    printf("Enter number = ");
    scanf("%d",&n);

    n=n&3;
   
    printf("\n%d",n);
    getch();
}


///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........