A variable \(x\) is said to be live at a statement \(S_i\) in a program if the…
GATE · 2015 · CS · Set 1 · Computer Science & IT
A variable is said to be live at a statement in a program if the following three conditions hold simultaneously:
i. There exists a statement that uses
ii. There is a path from to in the flow graph corresponding to the program
iii. The path has no intervening assignment to including at and

The variables which are live both at the statement in basic block 2 and at the statement in basic block 3 of the above control flow graph are
- A.
- B.
- C.
- D.
Attempted by 153 students.
Sign up free to check your answer
Sign up freeLoading lesson…