Consider the following intermediate program in three address code
Which one of the following corresponds to a static single assignment form of the above code?
code
- Acode
- Bcode
- Ccode
- Dcode
Compiler DesignIntermediate Code Generation & Local Code OptimizationMCQ1 mark · −1/3 if wrongMedium
1p = a - b
2q = p * c
3p = u * v
4q = p + q
51p_1 = a - b
2q_1 = p_1 * c
3p_1 = u * v
4q_1 = p_1 + q_1
51p_3 = a - b
2q_4 = p_3 * c
3p_4 = u * v
4q_5 = p_4 + q_4
51p_1 = a - b
2q_1 = p_2 * c
3p_3 = u * v
4q_2 = p_4 + q_3
51p_1 = a - b
2q_1 = p * c
3q_2 = u * v
4q_2 = p + q
5A GATE question every morning
One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.