#include using namespace std; void Foo(int a = 0, double b = 3.14 , string c = "default"); //void Foo(int a, double b, string c); int main() { Foo(1,2.3, "elll"); Foo(2, 4.5); Foo(3); Foo(); return 0; } void Foo(int a, double b, string c){ cout << " in Foo, a = " << a << " b = " << b << " c = " << c << endl; }