0

What are the application of pointers? Can anyone demonstrate with a good example?

What are the application of pointers?

14th Jun 2020, 9:52 AM
Bibhash Ghosh
Bibhash Ghosh - avatar
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
14th Jun 2020, 10:58 AM
ycsvenom
ycsvenom - avatar
0
Seeing that you have completed C++ course I suggest you to review chapter about pointer.
14th Jun 2020, 10:12 AM
Ipang
0
Well, thanks for your suggestion. I will be happy enough if you explain it to me instead of suggesting something.
14th Jun 2020, 10:22 AM
Bibhash Ghosh
Bibhash Ghosh - avatar
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
14th Jun 2020, 11:49 AM
rodwynnejones
rodwynnejones - avatar