Skip to main content

Posts

Showing posts with the label The Crazy Programmer Arguments vs Parameters in Programming Arguments vs Parameters in Programming The Crazy Programmer

Arguments vs Parameters in Programming Nitish Agarwal The Crazy Programmer

In this article, we will study about arguments and parameters used in the programs at the time of function call. Sometimes, along with function names, some variables or values are also used and passed to them which help in the execution of a program. These variables which provide extra information about the function are called arguments. The arguments used in one function cannot be used in other functions as they are specific to a particular function and are used only in that specific function. These arguments are passed to the functions at the time of the function call. We can add many arguments to the function and make it more informative. While Parameter is a type of identifier which is used to identify the type of values passed to a function. In other words, they define the data type of an argument and assign it a general variable that is used while defining a function. They do not contain specific values and are used while writing functions in larger programs to divide them into