diff --git a/Shift Inputed Data By Two Bits To The Left b/Shift Inputed Data By Two Bits To The Left new file mode 100644 index 0000000..52eba1d --- /dev/null +++ b/Shift Inputed Data By Two Bits To The Left @@ -0,0 +1,20 @@ +/ Shift inputed data by two bits to the left. + + + +#include + +void main(){ + + int x,y; + + printf("Read the integer from keyboard :-"); + + scanf("%d",&x); + + x<<=2;//left shift operator + + y=x; + + printf("\nThe left shifted data is = %d",y); +}