Q46
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
(Control flow graph: block 1: , , ; block 2: ; block 3: ; block 4: ; edges 1→2, 1→3, 2→4, 3→4, 4→1.)
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
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
(Control flow graph: block 1: , , ; block 2: ; block 3: ; block 4: ; edges 1→2, 1→3, 2→4, 3→4, 4→1.)
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

Show answer without attempting
Answer: C