Skip to content

Instantly share code, notes, and snippets.

@dolpheen
Last active July 27, 2020 06:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dolpheen/973cf347eff76a47f059ba7233854f41 to your computer and use it in GitHub Desktop.
Save dolpheen/973cf347eff76a47f059ba7233854f41 to your computer and use it in GitHub Desktop.
Testing stack variables initialization and handling
main()
{
testFunction();
}
testFunction(){
int k;
int i = 4;
int j = 6;
k = i + j;
print(i);
print(j);
print(k);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment