Computer Science, asked by devaganapally29, 1 month ago

We shld do sumfunction by call by value and call by reference in one prgrm​

Answers

Answered by pooja9070
1

Explanation:

In call by value method, the value of the actual parameters is copied into the formal parameters. In other words, we can say that the value of the variable is used in the function call in the call by value method. In call by value method, we can not modify the value of the actual parameter by the formal parameter.

Answered by SuryaTrinath
0

Answer:

Call by value in C

In call by value method, the value of the actual parameters is copied into the formal parameters. In other words, we can say that the value of the variable is used in the function call in the call by value method.

In call by value method, we can not modify the value of the actual parameter by the formal parameter.

In call by value, different memory is allocated for actual and formal parameters since the value of the actual parameter is copied into the formal parameter.

The actual parameter is the argument which is used in the function call whereas formal parameter is the argument which is used in the function definition.

  • plz subscribe to my YouTube channel MEDICUS GNARITAS
  • plz follow up
  • plz mark me as Brainlist

Similar questions