Question: Given the following code draw the Control flow graph along with the interptetation of the predicates (as in Table 6.1 of textbook) and then show

Given the following code draw the Control flow graph along with the interptetation of the predicates (as in Table 6.1 of textbook) and then show graphically the domain obtained from the control flow graph. Use Figure 6.2, 6.3, 6.4, and Table 6.1 of textbook as guide. Provide explanation of your work when necessary 01 02 03 04 05 06 07 08 09 10 int domaintester (int x, int y) int c= 0, d= 0, k= 0; if (c 7) d = c - x/4; d = c + x/4; if (d >= c 4) else 12 13 14 15 16 17 k = x + d/4; else k y +d/8; return k
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
