Machine-translated by Google. Questions are authored in English.
Top

Discussion

The intermediate code for a return statement typically

  • A.deallocates the storage of every variable in the program
  • B.jumps to the first instruction of the calling procedure
  • C.requires no instructions at all
  • D.moves the result to an agreed place and transfers control back

Answer: D

The calling convention fixes where the result is left. The actual return sequence, including any stack adjustment, is completed by the code generator using target conventions. The intermediate form deliberately leaves those details unspecified.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.