Pergunta de entrevista da empresa Tata Consultancy Services

what is call by value and call by reference

Resposta da entrevista

Sigiloso

27 de jun. de 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.