fork(1) download
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5. int a = 128;
  6. int b=a>>1;
  7.  
  8. printf("\nNumber is Shifted By 1 Bit : %d",a);
  9. printf("\nNumber is Shifted By 1 Bit : %d",a);
  10.  
  11. return(0);
  12. }
Success #stdin #stdout 0s 2052KB
stdin
Standard input is empty
stdout
Number is Shifted By 1 Bit  : 128
Number is Shifted By 1 Bit  : 128