in Technology by (1.8m points)
What are the different ways of passing parameters to the functions in C Programming? Which to use when?

1 Answer

0 votes
by (1.8m points)
Call by value − We send only values to the function as parameters. We choose this if we do not want the actual parameters to be modified with formal parameters but just used.

Call by reference − We send address of the actual parameters instead of values. We choose this if we do want the actual parameters to be modified with formal parameters.

Related questions

0 votes
asked Dec 13, 2021 in Education by JackTerrance (1.8m points)
...