We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86d7d06 commit 8844ef3Copy full SHA for 8844ef3
Chapter13/review/06.txt
@@ -0,0 +1,9 @@
1
+A default argument is the default value for a function's parameter.
2
+
3
+It allows us to leave out the value for a default argument in calls to that function,
4
+using the default one for that instead.
5
6
+It is an alternative for providing several overloaded functions.
7
8
+Default arguments can only be defined for trailing parameters,
9
+non-default argumented parameters can not be after a default argumented parameter.
0 commit comments