1.

Consider the following expressions which calculates one solution of the quadratic equation: ax2+bx+c=0 x=(−b+sqrt(b2−4×a×c))/(2×a)where sqrt is an unary operator which performs the square root.The least number of temporary variables required to create a three address code in static single assignment form for the above expression is ________? 8

Answer» Consider the following expressions which calculates one solution of the quadratic equation:

ax2+bx+c=0



x=(b+sqrt(b24×a×c))/(2×a)



where sqrt is an unary operator which performs the square root.The least number of temporary variables required to create a three address code in static single assignment form for the above expression is ________?


  1. 8


Discussion

No Comment Found

Related InterviewSolutions