+ 10

POINTERS

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

10th Sep 2017, 6:43 AM
Alexander Malcev
Alexander Malcev - avatar
4 Answers
+ 11
Hope you get your answer in detail here: https://www.tutorialspoint.com/cplusplus/cpp_pointers.htm
10th Sep 2017, 6:46 AM
P R
P R - avatar
+ 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.
10th Sep 2017, 6:47 AM
Jordan Chapman
Jordan Chapman - avatar
+ 5
https://code.sololearn.com/c61GMzvZJSTS/?ref=app A C++ Program for 1-D and 2-D array
10th Sep 2017, 6:54 AM
Kartikey Sahu
Kartikey Sahu - avatar
+ 1
The answer is 44 because the array pointer points 1st element and we adding +2 in the ptr ie. Int arr[5+2]
22nd Feb 2021, 5:10 AM
Shoeb Khan
Shoeb Khan - avatar