Originally posted by suavedeep kaur: Thanks sir i got my doubt cleared
Well done. This is a common problem, and causes quite a lot of confusion, particularly when some books are not precise in how they describe it. Click the search button above, and put "pass by value" in the box. You get lots of links; try this one, and look at the "wonderful link" quoted in the 3rd message. It is a bit complicated, but explains very clearly what pass-by-reference would be and how in works in Pascal. You can then try it out in Java, as in Michael Dunn's example, and you can see how the results are different.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com