Question: C programming Expression Evaluation (10 points) Evaluate the following expressions assuming 32 bit integers and 32 bit pointers. Variables are declared as listed but after
Expression Evaluation (10 points) Evaluate the following expressions assuming 32 bit integers and 32 bit pointers. Variables are declared as listed but after some unknown number of operations the current state of the memory is given by the supplied memory diagram. 3. struct node int data; struct node* other typedef struct node Node; Node v Node p Variable Name/ Memory Value Address 8000 8004 9000 8008 9004 p 8012 9028 8016 9032 8020 9020 V 9000 42 9004 9016 9008 5 9012 100 9016 87 9020 9008 9024 101 9028 1 9032 8000 9036 9016 a. v.data b. v.other->data; c. p->other->data; d. p->other[2]->data; e. p->other->other->other->data
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
