By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,159 Members | 899 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,159 IT Pros & Developers. It's quick & easy.

Difference

P: 30
Hi,

What is the difference between Call by reference usin Reference varibal and Call by reference using pointers.
Sep 27 '06 #1
Share this Question
Share on Google+
1 Reply


Banfa
Expert Mod 5K+
P: 8,916
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)
Sep 27 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.