Question: In, the code fragment below, line numbers have been added for reference. Assume the first-element of the array b is stored at address 1000 (decimal),
In, the code fragment below, line numbers have been added for reference. Assume the first-element of the array b is stored at address 1000 (decimal), and that- int values need 4 bytes each for storage. The pointer q is stored at address 2000, and the pointer q is stored at 1500. 1 { 2 int b[] = {3, 2, 10, 5, 1, 25, 2, 4}: 3 int *p = b + 3: 4 int *q = &b[2]: 5 *(p - 1) = *(q + 1) + 1: 6 q++: 7 p
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
