A static variable be used as a default argument.
You can even change the default argument's value during runtime, which can change the behavior of a function that is called without all of it's arguments. I don't know if there are any practical uses for this.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment