The minimum number of variables needed in the 3-address code for : a + b*c -…

The minimum number of variables needed in the 3-address code for :
a + b*c - a+ b*c

Answer: 2 to 3(b*c) + (b* c) b = b*c b = b+ b Number of variables = 2

Attempted by 29 students.

Show answer & explanation

Correct answer: 2 to 3

(b*c) + (b* c)

b = b*c

b = b+ b

Number of variables = 2

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…