Skip to content

Instantly share code, notes, and snippets.

@cwshu
Created February 22, 2015 06:15
Show Gist options
  • Save cwshu/9ac033bb8c46db0d5056 to your computer and use it in GitHub Desktop.
Save cwshu/9ac033bb8c46db0d5056 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int f(int a=10);
int main(){
cout << f() << endl;
cout << f(100) << endl;
}
int f(int a){
return a + 10;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment