Use debugger to solve. Display values from the array numbers using subscripts from 6 to 10 and from -1 to -6. Identify f
Posted: Thu Jun 02, 2022 7:59 am
Use debugger to solve.
Display values from the array numbers using subscripts from 6 to
10 and from -1 to -6. Identify from which array (if either) each of
these values come from. Modify your commands in #2 so that instead
of using numbers you use the pointer dereferencing notation
*(numbers+i) to refer to the array. Then try the notation
i[numbers]. Are the results the same?
Reference code:
Display values from the array numbers using subscripts from 6 to
10 and from -1 to -6. Identify from which array (if either) each of
these values come from. Modify your commands in #2 so that instead
of using numbers you use the pointer dereferencing notation
*(numbers+i) to refer to the array. Then try the notation
i[numbers]. Are the results the same?
Reference code: