The simple answer is that the compiler will flag it as an error.
However, you also have the option when declaring a function of using defualt values for parameters. The restriction on this is that if a default is supplied for a parameter, all parameters to the right of that must also have defaults supplied.