A program that read a number & multiply by 2 using shift operator in C.

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

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

    n=(n<<1);
   
    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.........