Question: Given the following codes int x = 0; inty malloc(sizeof(int)); while(x < 10) { int z = 0; int y =x; while (y <

 Given the following codes int x = 0; inty malloc(sizeof(int)); while(x < 10) { int z = 0; int y = x; while (y  

Given the following codes int x = 0; inty malloc(sizeof(int)); while(x < 10) { int z = 0; int y =x; while (y < 10) { z = z + y; y = y + 1; 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: } 11: *y = x; a) Vrite the symbol table indicating the type of variables in line 4 b) In (5a) write the symbol table indicating the type of variables in line 11 } c) After the first iteration of the following analysis write the in and out sets for each node. 1: x- 2: y = b 3: if (x 0) 4: y = y + z 5: y = y - z 6: z = y

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer Lets analyze ... View full answer

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 Programming Questions!