Pregunta de entrevista de Tata Consultancy Services

what is call by value and call by reference

Respuesta de la entrevista

Anónimo

27 jun 2024

Call By Reference. While calling a function, we pass the values of variables to it. Such functions are known as “Call By Values”. While calling a function, instead of passing the values of variables, we pass the address of variables(location of variables) to the function called “Call By References.