// Default arguments
#include <iostream>
using namespace std;
int f(int a, int b = 8, int c = 10);
// int f(int a = 8, int b, int c = 10); // Can't do this
int main()
{
	cout << f(1,2,3) << endl;
	cout << f(1,2) << endl;
	cout << f(1) << endl;
	//cout f(); // ERROR
	return 0;
}

// int f(int x, int y = 8, int z = 10) // ERROR
int f(int x, int y, int z)
{
	return x + y + z;
}


