fork download
  1. #include <stdio.h>
  2. int a=0;
  3. int b=1;
  4. void fun(int *i,int *j)
  5. {
  6. *i=*i+1;
  7. int k=a+*i;
  8. printf("%d",k);
  9. printf("%d",*j);
  10. }
  11.  
  12.  
  13. int main(void) {
  14. int l=a+b;
  15. fun(&a,&l);
  16. printf("%d",a);
  17. // your code goes here
  18. return 0;
  19. }
  20.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
211