Question: This uses C (C only please) I need this within the hour please help me :( I need help QUESTION 12 30 points Save Answer

This uses C (C only please) I need this within the hourThis uses C (C only please) I need this within the hour please help me :( I need help

QUESTION 12 30 points Save Answer C5-1714-0D4-Spring-2021-Computer Programming Il- swx913- Jose Antonio Jimenez Consider this block of code below. Trace the following code as explained in class. Show the starting address, the intermediate and final values of the variables. A variable of type 'int' takes 4 bytes and any pointer variable takes 8 bytes of space. Assume the starting address that is available is 1000 (calculate in decimal). For each of the starting addresses S-1 to 5-9, there is only one number, please write that down. However, for each of the variable values V-1 to V-9, there can be more than one values (starting, intermediate and final). Write all of them down, separated by comma. For example, if V-4 has 3 values then write them down as V-4 = 1, 2, 3. You DON'T need to create a table for your answer. Just mention in each separate line, variable name = answer. For example, S-1 = 1 S-2 = 2 and so on... int X = 20, Y = 30, Z = 40; Starting address location is 1000 (calculate in decimal) Variable Starting Name Address Value int *p; int arr (5) = { { 6, 5, 4, 3, 2 }; S-1 V-1 p = arr; S-2 V-2 *p+- = 10; Z S-3 V-3 p = carr[2]; *++p = 20; p S-4 V-4 arr[0] S-5 V-5 arr [1] S-6 V-6 arr [2] S-7 V-7 arr [3] S- arr [4] S-9 V-9

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!