language-icon Old Web
English
Sign In

Default argument

In computer programming, a default argument is an argument to a function that a programmer is not required to specify.In most programming languages, functions may take one or more arguments. Usually, each argument must be specified in full (this is the case in the C programming language). Later languages (for example, in C++) allow the programmer to specify default arguments that always have a value, even if one is not specified when calling the function. In computer programming, a default argument is an argument to a function that a programmer is not required to specify.In most programming languages, functions may take one or more arguments. Usually, each argument must be specified in full (this is the case in the C programming language). Later languages (for example, in C++) allow the programmer to specify default arguments that always have a value, even if one is not specified when calling the function.

[ "default reasoning", "Autoepistemic logic", "Default logic" ]
Parent Topic
Child Topic
    No Parent Topic