Given the following code fragment. Suppose an integer occupies 4 bytes. Write a C statement for each of the following 4 questions:
int z = 56;
int *switch = &z;
int y;
- Add 10 to the value referenced by pointer switch.
- Add 4 to the address stored in pointer switch.
- Subtract 5 from the value referenced by the pointer.
- Add 8 to the address stored in the pointer and copy the value stored at this new location to the variable y.