Question: Question 7 ( 3 points ) Saved Given the following code, describe the diagram that would represent the situation with the variables: int A =

Question 7(3 points)
Saved
Given the following code, describe the diagram that would represent the situation with the variables:
int A=10;
int B=42;
int*p;
int*q;
int*x
p=&A;
q=&B
x=p
p=q
Two boxes - one with 10, one with 42- and three arrows which all point to 42
Two boxes - one with 10, one with 42- and two arrows pointing to 10 and one pointing to 42
Two boxes - one with 10, one with 42- and one arrow pointing to 10 and two pointing to 42
Two boxes - one with 10, one with 42- and three arrows which all point to 10
 Question 7(3 points) Saved Given the following code, describe the diagram

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!