|
-
February 5th, 2003, 01:55 AM
#1
Difference between reference and const pointer
Can someone tell me the difference between reference and const pointer. Not in the way its used, but the way it is implemented.
My understanding
Reference - Always referes to the same location, but the content can be changed.
Const Pointer - Cannot change the location it points to, but can change the value.
Is that right?
So...
Thanks and Regards
Kannan S
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
|