fork download
  1. void _(int a, int b) { ++a, ++b; }
  2. void _(int *a, int *b) { ++(*a), ++(*b); }
  3. int main() {
  4. int a=1, b=1000;
  5. int *p = &a, *q = &b;
  6. _(a,b);
  7. _(p,q);
  8. return 0;
  9. }
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
Standard output is empty