Get Answers to all your Questions

header-bg qa

What is call by value in c++.? tell me how to apply it in simple language

Answers (1)

best_answer

When an argument is passed to a function through Call by Value then the function copies the actual value of the argument into the formal parameter of the function. 

So that the changes made to the parameter have no effect on the argument.

Posted by

Deependra Verma

View full answer