I have class Foo with a constructor as given:
class Foo {
public:
Foo(int w, char x, int y, int z);
...
};
int main()
{
Foo abc (10, 'a');
}
Can I use that constructor like this? When constructor signature do not match?
So How do I give default value?