Difference

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sanketbarot
    New Member
    • Sep 2006
    • 30

    Difference

    Hi,

    What is the difference between Call by reference usin Reference varibal and Call by reference using pointers.
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    When you use a reference you always have to pass an actual object to the function. With pointers you do not have to pass a value that actually points to an object (i.e. you can pass NULL)

    Comment

    Working...