Skip to content

Instantly share code, notes, and snippets.

@ericrrichards
Created November 13, 2012 14:38
Show Gist options
  • Select an option

  • Save ericrrichards/4066061 to your computer and use it in GitHub Desktop.

Select an option

Save ericrrichards/4066061 to your computer and use it in GitHub Desktop.
Function Overloading
void Foo( int a, int b, int c, int d, int e){
return (a + b + c + d) / e;
}
void Foo ( int a, int b ){
return Foo(a, b, 0, 0, 1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment