What is the argument of a function?

3 answer(s)
Answer # 1 #

In computer science terms: when you call a function like print("Hello"), the "Hello" part is the argument. Functions can have single, multiple, or even optional arguments.

[1 Year]
Answer # 2 #

In mathematics and programming, an argument of a function is the input value you pass to it. For example, in f(x) = x + 2, the value you substitute for x is the argument.

[1 Year]
Answer # 3 #

For deeper study, you can read this article on TutorialsPoint - Function Arguments.

[1 Year]