Skip to content

Instantly share code, notes, and snippets.

@rkwitt
Created October 24, 2016 12:02
Show Gist options
  • Save rkwitt/71c29997f76b6cf395f3982f2db76965 to your computer and use it in GitHub Desktop.
Save rkwitt/71c29997f76b6cf395f3982f2db76965 to your computer and use it in GitHub Desktop.
Simple function call to demonstrate stack
int f(int a, int b, int c)
{
int c;
c = a + b;
return c;
}
int main()
{
int a;
int b;
int c;
a=1111;
b=2222;
c=3333;
f(a,b,c);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment