what is call by value? What is call by reference? Pointers in C
Duration: 13:30 Min | Sep 03, 2023
Call by value, also known as pass by value, is a method of parameter passing where the values of the actual parameters (arguments) are copied to the formal parameters of the function. In this method, the function works with its own local copies of the values, and any modifications made to the formal parameters inside the function do not affect the values of the actual parameters in the calling code.