jalpa brahmbhatt
wat is diff between by value and by reff with example pls
By jalpa brahmbhatt in ASP.NET on Apr 07 2008
  • Bechir Bejaoui
    Apr, 2008 10

    Imagine that you are going to the restaurent to have a diner there are two alternatives: Alternative1: go to the restaurent and take a place(chose a table 3 for example and sit down)by your self. Alternative2: Call the retaurent to reserve the table 3(you can reserve it for you or for your freind for example) Finally the table 3 is not free but the in case one there is someone you and for the case two there is some one but it is not present right now, it will be present at the dinner Now, the when you define a variable as byValue that means that you variable occupe a place in a memory by it self. but if you define a variable as byRef that means that you reserve a place to your value to accupe at the run time reguradless of your variable value

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS