value and reference :/

Hi , can you help me to understand this:

" Passing by value and passing by reference "

-what is the difference between them ??

-give me an example when we use : "Passing by value" and when we use :"passing by reference"
try to look at this, it is pretty comprehensible :

passing by value :

and by reference :
thank you
Topic archived. No new replies allowed.