Passing in values to functions
I remember that there was a way to pass a value into a function sometimes, but not always. If you didn't pass the value into the function, then either that variable doesn't exist for the lifetime of the function or the variable is automatically set to a predefined value.
For example, I have a function prototype
And sometimes I want to call this function without the int being called. Also, is it possible to instead send a string to the function as well?
printCommand(Line *head, int lineNumber)