+ 1

Pointers in C++?

What are the point (pun intended) of pointers? All I know is they make certain tasks easier. But what tasks specifically? Why would I ever use pointers? Give me an example.

17th Nov 2018, 3:07 AM
Daniel Cooper
Daniel Cooper - avatar
2 Answers
+ 3
"You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time." Bertrand Meyer _____ https://en.wikipedia.org/wiki/Bertrand_Meyer
17th Nov 2018, 6:35 AM
Babak
Babak - avatar
+ 2
You can learn a great deal about them On YouTube channel mycodeschool(not my channel just saying)
17th Nov 2018, 5:32 AM
Ash