Created
October 24, 2016 12:02
-
-
Save rkwitt/71c29997f76b6cf395f3982f2db76965 to your computer and use it in GitHub Desktop.
Simple function call to demonstrate stack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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