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

Functions???

P: 12
Can anybody show me an example of passing a variable by value to function and of passing a variable by reference to function?
Mar 22 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 1,510
Can anybody show me an example of passing a variable by value to function and of passing a variable by reference to function?
have a look at
http://www.cplusplus.com/doc/tutorial/functions.html
http://www.cplusplus.com/doc/tutorial/functions2.html
Mar 22 '07 #2

Post your reply

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