Menu

[Solved]Given Following Int Xyz 9 88 99 22 15 Int Ptr Xyz Assuming Xyz Stored Memory Address 2500 Q37094902

Given the following:

int xyz[9] = {88, 99, 22, 15};

int *ptr = xyz;

and assuming that xyz is stored at memory address 2500, what isthe value of each of the following?

  1. xyz[0]
  2. xyz[2]
  3. xyz[4]
  4. xyz[9]
  5. &xyz[0]
  6. ptr
  7. *ptr
  8. *ptr+1
  9. *(ptr+1)

Expert Answer


Answer to Given the following: int xyz[9] = {88, 99, 22, 15}; int *ptr = xyz; and assuming that xyz is stored at memory address 25… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *