0
What are the application of pointers? Can anyone demonstrate with a good example?
What are the application of pointers?
4 odpowiedzi
+ 2
Pointers is very good for such of things like arrays
Because pointers is the main idea of dynamic arrays, linked lists, aliasing
0
Seeing that you have completed C++ course I suggest you to review chapter about pointer.
0
Well, thanks for your suggestion. I will be happy enough if you explain it to me instead of suggesting something.
0
I assume you are a relative beginner....so.... this is a basic swap routine that might help you understand "pass-by-value" and "pass-by-reference" in "C".
Just to add......understanding pointers is a "must", particularly in "C" programming.
https://code.sololearn.com/c7PThMcOzXU7/#c