Hi, I have searched the internet and cannot find anything on how to set a variable as a default parameter. Here is and example of the function:
int prePickedNum = 2;
void MyFunction(int num = prePickedNum)
num += 1;
The error is because I am trying to us a...