fork download
  1. #include <stdio.h>
  2. #include <stdbool.h>
  3.  
  4. void check(int val){
  5. printf("ip: %d\n", val);
  6. }
  7.  
  8. int main(void) {
  9. // your code goes here
  10. check(1);
  11. check(0);
  12. check(1>0);
  13. check(1<0);
  14.  
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
ip: 1
ip: 0
ip: 1
ip: 0