fork download
  1. #include <stdio.h>
  2.  
  3. int f(int i) {
  4. return ++i;
  5. }
  6.  
  7. int main(void)
  8. {
  9. int i = 0;
  10. i = f(f(i));
  11.  
  12. printf("%d", i);
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5292KB
stdin
Standard input is empty
stdout
2