9/10/2017 6:43:02 AM
Alexander Malcev4 Answers
New AnswerHope you get your answer in detail here: https://www.tutorialspoint.com/cplusplus/cpp_pointers.htm
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.
https://code.sololearn.com/c61GMzvZJSTS/?ref=app A C++ Program for 1-D and 2-D array
The answer is 44 because the array pointer points 1st element and we adding +2 in the ptr ie. Int arr[5+2]
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message