I have a function:
void func(string a = "hi", int b = 2, float c = 3f) {
// return whatever
}
Say in a case I want to use the function but I only know b's value in this case, can I still use this func? How? The following code would compare my input with a which causes error:
func(4);
Is there a way to pass in value to a particular argument(the 2nd one) and still use default values for the one on the left?