fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int A ,B ,C;
  5. A=3,B=1;
  6. C=A&B;
  7. printf("%d\n",C);
  8. C=A|B;
  9. printf("%d\n",C);
  10. C=A<<B;
  11. printf("%d\n",C);
  12.  
  13.  
  14. }
  15.  
Success #stdin #stdout 0s 5280KB
stdin
Standard input is empty
stdout
1
3
6