1.

Consider the following intermediate program in three address code:p = a – bq = p * cp = u * vq = p + qWhich one of the following corresponds to a static single assignment form of the above code?

A. p1 = a - bq1 = p1 * cp1 = u * vq1 = p1 + q1
B. p3 = a – bq4 = p3 * cp4 = u * vq5 = p4 ­+ q4
C. p1 = a – bq1 = p2 * cp3 = u * vq2 = p4 + q3
D. p1 = a – bq1 = p * cp2 = u * vq2 = p + q
Answer» C. p1 = a – bq1 = p2 * cp3 = u * vq2 = p4 + q3


Discussion

No Comment Found

Related MCQs