fork download
  1.  
  2. /* What is the output of this function */
  3.  
  4. #include <stdio.h>
  5. int main()
  6. {
  7. int a = 2;
  8. if (a >> 1)
  9. printf("%d\n", a);
  10. }
Success #stdin #stdout 0s 544KB
stdin
Standard input is empty
stdout
2