Skip to content

Parameters Vs Arguments

Parameters

The variables listed in the parenthesis of function definition are called parameters.

void foo (int n); // n is parameter

Arguments

The variables passed to the parenthesis during function call are called arguments.

foo(50); // 50 is argument