Question: i need help with this C code as soon as possible Consider the following code snippet: int main() ( int i, arr[20] = {1, 3,

i need help with this C code as soon as possible i need help with this C code as soon as possible Consider

Consider the following code snippet: int main() ( int i, arr[20] = {1, 3, 5, 7, 9, 11); int *p - Sarr[713 int "q-p-3; intr-arr3; D-- (9) +5 (*r) -= 2; int x = p; int y = r; Assume that the first element of arr is stored in memory address 8500 (decimall: assume int takes 4 bytes. By the end of main - what are the values of p q r respectively? Answer in decimal what is the value of p-q? if not a valid expression, write N/A. what is the value of r>p? if not a valid expression, write N/A. what is the value of x? if is a random value, write N/A. what is the value of y? if is a random value, write N/A. 7 " B % 95 ! US X2 x -p: g: : -p-9: ->p: -X: -y

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!