GATE CSE · Free quiz
No signup needed. Answer 5 real GATE CSE questions, get instant scoring and solutions, then unlock full mocks and your weak-topic map for free.
Question 1 of 5
MEDIUMConsider the three-address code: t1 = a + b, t2 = c * d, t3 = t1 - t2, t4 = t3 / e. Assuming all variables are live at the end, what is the minimum number of registers required to generate code without spilling to memory?