Skip to content

Instantly share code, notes, and snippets.

@Me1000
Created February 23, 2012 21:00
Show Gist options
  • Select an option

  • Save Me1000/1895016 to your computer and use it in GitHub Desktop.

Select an option

Save Me1000/1895016 to your computer and use it in GitHub Desktop.
int f(int *x)
{
*x = 100;
return 1;
}
int main(int argc, char *argv[]) {
int i;
int a = 1;
i = a + f(&a);
printf("%d %d \0", i, a);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment