Question: For the block - structured C code of Fig. 1 . 1 3 ( a ) , indicate the values assigned to w , x

For the block-structured C code of Fig. 1.13(a), indicate the
values assigned to w, x, y, and z.
int w,x,y,z;
int i=4; int j=5;
{ int j=7;
i=6;
w=i+j;
}
x=i+j;
{ int i=8;
y=i+j;
}
z=i+j;
Figure 1.13: Block-structured code
{ int w,x,y,z; /* Block B1*/
{ int x,z; //
{ int w,x; /* Block B3*/}
}
{ int w,x; /* Block B4*/
{ int y,z; /* Block B5*/}
}
}
please show step by step

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!