Skip to content

Instantly share code, notes, and snippets.

@gitpraetorianlabs
Last active June 1, 2016 23:10
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/314a002aa6273fd6848bdb729e504726 to your computer and use it in GitHub Desktop.
Save gitpraetorianlabs/314a002aa6273fd6848bdb729e504726 to your computer and use it in GitHub Desktop.
#include <stdio.h>
// Function that calls another function with some arguments.
// Passing more than 4 arguments to see what happens
// by b1ack0wl
void main(){
int a = 0;
int b = 1;
int c = 2;
int d = 3;
int e = 4;
int f = 5;
int g = 6;
int h = 7;
int i = 8;
int j = 9;
pass_args_to_me(a,b,c,d,e,f,g,h,i,j);
}
int pass_args_to_me(int a, int b, int c ,int d, int e, int f, int g ,int h, int i, int j){
return (a+b+c+d+e+f+g+h+i+j);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment