- 1

Please explain this answer 😓

https://www.sololearn.com/post/1056795/?ref=app

26th Apr 2021, 4:42 PM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar
3 RĂ©ponses
+ 4
Each index of array 'p' is a pointer to an element in the first array. ptr is double pointer = address of the array p's starting index (say x) ptr++ = address of p+1 = x+1 ptr - p = x + 1 - x = 1 **ptr = *(*ptr) *(*ptr) = *(*(p+1)) = *(p[1]) = *(a+3) = a[3] = 40 output: 140
26th Apr 2021, 4:56 PM
Abhishek Tandon
Abhishek Tandon - avatar
+ 3
Problem set by Gawen steasty always gives wrong ans😅 Edit : I too learnt now only thnks
26th Apr 2021, 4:56 PM
Aditya
Aditya - avatar
0
Again thank you Infinity 😊
26th Apr 2021, 4:59 PM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar