November 22, 2016

Difference between parameter and argument

□ Parameter = Dummy argument 인자
○ The variable that points to the data provided to a function
○ The variable that contains a argument
○ The char aaa and int bbb are parameters in "int function(char aaa, int bbb) {}"

□ Argument 인수
○ The value to be passed at function call
○ The var1, "next", 15 are arguments in "int a = function(var1, 'next', 15)"