cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
by reference or by value
by reference or by value
Feb 8, 2009 at 5:31pm UTC
Nona
(1)
can sombody please help me and explain to me what is the difference between:
function1 (int x, int y) and
function2 (int& x, int& y)
an example will help very much.
thanks!
Feb 8, 2009 at 5:39pm UTC
skydbms
(6)
Nona!
go through this link
http://www.tech-recipes.com/rx/1232/c-pointers-pass-by-value-pass-by-reference/
you will find the problem solved
Topic archived. No new replies allowed.