what is the difference between call by value and call by reference?
AnswerBot
1y
Call by value passes a copy of the value while call by reference passes a reference to the value.
Call by value passes a copy of the value to the function while call by reference passes a reference to ...read more
Anonymous
1y
In call by value, a copy of the argument's value is passed to the function, while in call by reference, the function receives a reference to the actual argument in memory. Changes to the parameter in ...read more
SEEMA DABAS
1y
Call by value means that the value of the argument is copied into the parameter. Call by reference means that a reference to the argument is passed into the parameter
Anonymous
author
2y
In call by value way of parameter passing, the values of actual parameters are copied to the formal parameters of the function, and the two types of parameters re stored in separate memory regions. As...read more
Add answer anonymously...
Top Tech Mahindra Software Developer interview questions & answers
Popular interview questions of Software Developer
Top HR questions asked in Tech Mahindra Software Developer
>
Tech Mahindra Software Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app