Question: 3. The following program in C uses pointers. For the statements that have an arrow to the left, draw an the arrays and pointers involved

3. The following program in C uses pointers. For the statements that have an arrow to the left, draw an the arrays and pointers involved to the right of the statement and clearly show which array element is the pointer pointing to after the statement is executed. For the printf() statements, just write the values on the space provided on this page after the code. Please make sure to follow the proper formatting showing in printf statements. Note that between two %d, there is a blank space. (15) a = > = int *x, *y, *z, *a, b[3] = {2,4,6}; a = new int [3]; //creating an array of 3 elements x=a; for (int k = -2; k
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
