0 like 0 dislike
20 views
in Computer Science by (1.0m points)
Differentiate between formal and actual parameters of a function.

1 Answer

0 like 0 dislike
by (1.0m points)
Formal parameters are the parameters as they are known in the function definition. Actual parameters (also known as arguments) are what are passed by the caller. For example, in the following code, a and b are the formal parameters, and x and y are the actual parameters:

int max(int a, int b) {

Related questions

0 like 0 dislike
1 answer 48 views
0 like 0 dislike
1 answer 119 views
asked Apr 4, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 38 views
0 like 0 dislike
1 answer 80 views
asked Feb 13, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 106 views
0 like 0 dislike
1 answer 40 views
0 like 0 dislike
1 answer 60 views
asked Feb 12, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 89 views
0 like 0 dislike
1 answer 75 views
asked Feb 12, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 24 views
Welcome to Free Homework Help, where you can ask questions and receive answers from other members of the community. Anybody can ask a question. Anybody can answer. The best answers are voted up and rise to the top. Join them; it only takes a minute: School, College, University, Academy Free Homework Help

19.4k questions

18.3k answers

8.7k comments

3.3k users

Free Hit Counters
...