Get Answers to all your Questions

header-bg qa

What is call by value in simple words? please give me answer

Answers (1)

best_answer

It is a way of passing arguments to a function so that it copies the actual value of an argument into the formal parameter of the function. 

So that any changes which are made to the parameter inside the function do not affect the argument.

C language by default uses Call by value.

Posted by

Deependra Verma

View full answer