Skip to content

Instantly share code, notes, and snippets.

@gitpraetorianlabs
Last active June 1, 2016 23:11
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 gitpraetorianlabs/e6655c3465323d73ec5aac8a90dcf418 to your computer and use it in GitHub Desktop.
Save gitpraetorianlabs/e6655c3465323d73ec5aac8a90dcf418 to your computer and use it in GitHub Desktop.
#include <stdio.h>
// Function callception!
// This is to analyze what happens when a function calls a function.
// by b1ack0wl
int call_one(); // declaration
int call_two(); // declaration
void main(){
int a = 0;
int b = 1;
call_one(a,b);
}
int call_one(int a, int b){
call_two();
return (a+b);
}
int call_two(){
return 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment