What is the difference between pass by reference and pass by
value?

Answer Posted / anandan

in pass by referance the parameters are passed as the
address of the variables whereas in pass by value the
variables are directly passed as parameters

Is This Answer Correct ?    99 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of polymorphism?

717


How do you define a class in oop?

790


What is advantage of inheritance?

840


What is a class in oop?

726


Are polymorphisms mutations?

843






What is polymorphism what are the different types of polymorphism?

694


Prepare me a program for the animation of train

2141


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1310


What are the features of oop?

779


What is polymorphism and its types?

735


Write a program to reverse a string using recursive function?

1941


Why is encapsulation used?

705


What are the three main types of variables?

762


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2249


What are properties in oop?

747