Tuesday, November 30, 2010

Default Arguments

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.

No comments:

Post a Comment