I just learned pointers in my computer science class and i am having a hard time understanding what they are used for. Are they absolutely necessary to use them when passing arrays from functions ect. or is it just a more efficient way of doing so?
bemo55
0
Newbie Poster
Recommended Answers
Jump to Post>Are they absolutely necessary to use them when passing arrays from functions ect. or is it just a more efficient way of doing so?
It is the only way you can pass by reference.
Further ahead in you education you'll learn that pointers shine when they are used in conjunction …
All 3 Replies
Reply to this topic
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.