is it possible to have a user function with a default parameter?
int func(int k = 1) {}
is it possible to have a user function with a default parameter?
int func(int k = 1) {}
No. Nor is it possible to overload, so you can’t even do this:
int func(int k) { ... }
int func() { return func(1); }