0
Please explain how does this code work...
6 Respuestas
+ 1
In you code...your not incrementing the actual pointer....(as in p++)...you are post/pre incrementing the the value it's pointing to .....p[0].
+ 1
well there is this pointer p pointing on arr[0] starting with 25.
Then 8 times a[0] is increased and printed then a newline is printed and then 7 times a[0] is printed and AFTERWARDS increased. More is not really happening.
If there are further questions or issues feel free to specify your question...
+ 1
How this statement is working
*++p
+ 1
*++p increases the pointer, so if p was a[0] it will be a[1] after that and then reads what stands at the position p i pointing to
+ 1
You are welcome
0
Thank you so much...🤗