fork download
  1. #include <stdio.h>
  2. void funzione (int *x)
  3. {
  4. (*x)++;
  5. }
  6. int main (void)
  7. {
  8. int y = 10;
  9. funzione (&y);
  10. printf ("y = %i\n", y);
  11. getchar ();
  12. return 0;
  13. }
Success #stdin #stdout 0.01s 1724KB
stdin
Standard input is empty
stdout
y = 11