What do you mean by call by value and call by reference?



What do you mean by call by value and call by reference?..

Answer / hrpynux@gmail.com

While calling a function, when you pass values by copying variables, it is known as “Call By Values.” While calling a function, in programming language instead of copying the values of variables, the address of the variables is used it is known as “Call By References

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Write a program which uses Command Line Arguments

0 Answers  


When does a 'this' pointer get created?

0 Answers  


What is buffer and example?

0 Answers  


What parameter does the constructor to an ofstream object take?

0 Answers  


Can we run c program in turbo c++?

0 Answers  






Which is best c++ or java?

0 Answers  


Write syntax to define friend functions in C++.

0 Answers   HAL,


What is slicing?

1 Answers  


Is there anything you can do in C++ that you cannot do in C?

1 Answers  


Is swift faster than c++?

0 Answers  


How do you clear a buffer in c++?

0 Answers  


What is the type of this pointer in c++?

0 Answers  


Categories