Question: LO: L2: a. 4 and 6 b. 6 and 5 c. 6 and 6 d. 4 and 4 Consider the intermediate code given below:
LO: L2: a. 4 and 6 b. 6 and 5 c. 6 and 6 d. 4 and 4 Consider the intermediate code given below: x = y + x w = 2 * x if s = u goto L1 X=W+ U u=u - 1 goto L2 L1: S=W + 1 y = S+x if y > 1000 goto LO The number of nodes and edges in the control-flow-graph constructed for the above code, respectively, are: (You have to validate your answer, without validation your answer won't be evaluated). Activate W Go to Setting
Step by Step Solution
3.37 Rating (147 Votes )
There are 3 Steps involved in it
The detailed answer for the above question is provided below To construct a control flow graph CFG for the given intermediate code we first identify t... View full answer
Get step-by-step solutions from verified subject matter experts
