POINTERS | Sololearn: Learn to code for FREE!

+10

POINTERS

Can someone explain me, how does pointer can help me?

9/10/2017 6:43:02 AM

Alexander Malcev

4 Answers

New Answer

+11

Hope you get your answer in detail here: https://www.tutorialspoint.com/cplusplus/cpp_pointers.htm

+5

all a pointer is, is just a location in memory. It is nothing more than that. You can of course do alot with pointers but don't make it complicated on yourself.

+5

https://code.sololearn.com/c61GMzvZJSTS/?ref=app A C++ Program for 1-D and 2-D array

+1

The answer is 44 because the array pointer points 1st element and we adding +2 in the ptr ie. Int arr[5+2]