Question:

Which of the following is not a three-address code statement?

Show Hint

In three-address code, operations involve two operands and a result, typically for arithmetic or conditional operations, but exponentiation is usually not part of it.
Updated On: Jun 16, 2025
  • \( x = y + z \)
  • if \( x \) goto L
  • \( x = *y \)
  • \( x = y ** z \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

A three-address code typically involves operations between two operands and stores the result in a variable. The expression \( x = y ** z \) represents an exponentiation operation, which is not commonly part of three-address code. The other statements represent valid three-address operations involving basic arithmetic and conditional jumps.
Was this answer helpful?
0
0