Created
February 22, 2015 06:15
-
-
Save cwshu/9ac033bb8c46db0d5056 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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