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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the iterator and generic algorithms.

1571


Explain shallow copy?

687


What is #include iostream?

854


Do class method definitions?

668


What are the 3 levels of programming languages?

634






What is struct c++?

649


What are inline functions? What is the syntax for defining an inline function?

667


Can we change the basic meaning of an operator in c++?

742


Define linked lists with the help of an example.

645


Explain the concept of dynamic allocation of memory?

697


What is c++ map?

662


what is COPY CONSTRUCTOR and what is it used for?

712


What is the return value of the insertion operator?

713


Describe new operator?

700


Which c++ compiler is best?

689