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

String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

1938


Explain the concepts involved in Object Oriented programming.

629


How to use CMutex, CSemaphore in VC++ MFC

4326


What is class in oop with example?

614


What are the features of oop?

634






What is the importance of oop?

605


Why do while loop is used?

570


What is debug class?what is trace class? What differences are between them? With examples.

1604


c++ program to swap the objects of two different classes

1759


What is static modifier?

630


How does polymorphism work?

635


Why do we use polymorphism?

573


Whats oop mean?

586


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1652


What is a class and object?

595