C++ pointers - application | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

C++ pointers - application

Can anyone share a practical application or a case study for C++ pointers? I'm going through that section in the c++ course and I'm finding it hard to picture a scenario where one would mess with pointers and memory addresses

27th Jan 2019, 11:38 PM
Salvatore - avatar
1 Answer
+ 1
I would say pointers are more common in API's. When you give a user the control to create a product using your API, it is an absolute must to use pointers, because everything the user creates is a dynamic allocation of a class defined in the API.
28th Jan 2019, 2:20 AM
Zeke Williams
Zeke Williams - avatar