fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(void)
  5. {
  6. int i = -42;
  7. int j = abs(i);
  8. printf("i = %d, j = %d\n", i, j);
  9. return 0;
  10. }
Success #stdin #stdout 0s 2112KB
stdin
Standard input is empty
stdout
i = -42, j = 42