Computer Science, asked by ziveyt21, 10 days ago

Are parameters and arguments same ?

Answers

Answered by amrikhoreAmrik
0

To an extent , yes

Parameters are actually the values defined in the function header , whereas the values being passed are arguments

Let me give an example

def func(a,b)

c=a+b

return c

func (2,3)

Here a and b are parameters and 2 and 3 are arguments

You could refer them as formal and informal parameters or arguments as well respectively

Similar questions