Frequently Asked C Language Interview Question & Answers

Differentiate call by value and call by reference?

Call by value: A process in which the values of the actual parameters sent by the calling function are copied to the formal parameters of the called function.

Call by reference: A process in which the parameters of a calling function are passed to the parameters of the called function using an address.