Question: what is the difference between call by value and call by reference in pointer?
Answer: In Call by value, a copy of the variable is passed whereas in Call by reference, a variable itself is passed. ... Call by Value, variables are passed using a straightforward method whereas Call by Reference, pointers are required to store the address of variables.