Parameters used in the function definition are called:
a)forward parameter
b)actual parameter
c)formal parameter
(java language)
Answers
Answered by
0
Formal parameters are used in function definition.
Answered by
0
Answer:
The correct option is a) formal parameter.
Explanation:
There are two types of parameters:
- Actual parameters
- 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