Positional optional parameters are declared inside square brackets [ ] and are identified by their position in the arguments list. When calling the function, these parameters can be omitted. void functionName(parameter1 ,[parameter2, parameter3, ...]...

Markdown supported · ⌘↵ to post
No responses yet.