|
-
January 26th, 2004, 09:38 AM
#1
Ampersand usage in C++ ?
Guys I got a question,
When you use the Ambersand sign "&" infront of a variable it means we are passing the address of that variable , right?
what happents when you have the "&" at the end of the variable .
Ex :
if I have a function header
exam(const K&, const V&);
what is the usgae of & in the above?
and what is the difference between this one
exam(const &K, const &V);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|