Question: Question: int *p; int b[]={ 1,2,3); void main(void) p &b[2]; b[1] = *p; address of b[2] goes to p content of memory pointed by p
![Question: int *p; int b[]={ 1,2,3); void main(void) p &b[2]; b[1]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f52466e354d_67066f5246623854.jpg)
Question: int *p; int b[]={ 1,2,3); void main(void) p &b[2]; b[1] = *p; address of b[2] goes to p content of memory pointed by p goes to address decremented by 2 p--s What is new value of b[l] and *p
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
