Computer Science, asked by mmenka401, 9 months ago

Parameters used in the function definition are called:
a)forward parameter
b)actual parameter
c)formal parameter
(java language)

Answers

Answered by bishayiasmita
0

Formal parameters are used in function definition.

Answered by remyanairlm
0

Answer:

The correct option is a) formal parameter.

Explanation:

There are two types of parameters:

  1. Actual parameters
  2. Formal parameters

The parameters used in the function definition are called formal parameters.

The parameters passed to the function during the function call are called actual parameters.

eg. For the function definition of area():

int area (int l, int b){

}

Here, l, b are formal parameters.

The function call:

area(4,3)

Here, 4, 3 are actual parameters.

Therefore, the correct option is a) formal parameter.

Similar questions