Can you please explain the difference between pass by value and pass by reference?

Submitted by: Administrator
In pass by value approach, the called function creates another copies of the variables passes as arguments. In this approach, the values of the original variables remain unchanged. However, we come across situations where we need to change the values of the original variables. Then the values may b passed by reference.
Submitted by: Administrator

Read Online C++ References Job Interview Questions And Answers