fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. short int a=2, b=2;
  5.  
  6. printf("%d,",a<<b);
  7.  
  8. printf("%d,",a^b);
  9.  
  10. printf("%d",a>>1);
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5440KB
stdin
45
stdout
8,0,1