fork download
  1. #include <stdio.h>
  2.  
  3. void one(int);
  4.  
  5. int main(void) {
  6. int a,b;
  7. scanf("%d %d",&a,&b);
  8. one(a);
  9. one(b);
  10. return 0;
  11. }
  12.  
  13. void one(int ans){
  14. printf("%d ",++ans);
  15. }
Success #stdin #stdout 0s 5580KB
stdin
12 22
stdout
13 23