From c6f9edf7fae7baa80db410aff8de855feaf6bfdd Mon Sep 17 00:00:00 2001 From: Allupdates <73375624+Allupdates@users.noreply.github.com> Date: Sat, 24 Oct 2020 09:44:01 +0530 Subject: [PATCH] https://allupdatestoyou.blogspot.com/ https://allupdatestoyou.blogspot.com/ --- Shift Inputed Data By Two Bits To The Left | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Shift Inputed Data By Two Bits To The Left 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); +}