In the following example:
int a[] = {2, 4, 8, 16};
int *p = a;
int x = *(p+2);
The value of x is:
2
4
8
16
Answers
Answered by
1
Answer:
2
Explanation:
The integer is 4 bit
LET'S take position value of 2 is 2000
Add 2 to it it'll be 2002 but the value 2 is integer so it'll hold that have till it moves to 4 bit, the position value of the 4 is 2004, so the 2002 is holded by 2 ans is 2
Similar questions