So I thought I had an understanding of pointers and references but I'm not sure whats going on with int*& x. Does this mean a reference to a pointer to an int? also what use does this have?
jmaple 0 Newbie Poster
Recommended Answers
Jump to PostIt's very similar to int ** -- a pointer to a pointer. That allows a function to change a pointer declared in the calling function. For example: linked list. When the pointer to the head of a linked list is declared in main() the pointer has to be passed by …
All 3 Replies
arkoenig 340 Practically a Master Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
jmaple 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.