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

Problem of Pass by Reference in C++

P: n/a
Hi All,

I have a problem on C++ pass by reference concept.

I saw some funcions which is :

e.g.
int& func(int &a)
{
.....
...
}

I understand the use of "int &a",
but I would like to know what is the use of "int&" ? and how to use it?
any examples?

Please help.
Best regards,
Alan
Jul 22 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.