Diference Between Call By Value And Call By Reference

1 year ago
C Programming

Call by value call

Call by Reference

 Call by the value passed the value.

 Call by reference passed to address.

 Value copied actual parameter to formal parameter.

 Have both parameters in the same memory address.

 Change the formal parameter value the value cannot be reflected in the actual parameter. Because it copied

value.

 

Change the value that can reflect the  actual parameter because both values having in the same memory address

 

 

0
Rusma Khadka
Dec 29, 2022
More related questions

Questions Bank

View all Questions