Consider the following statements about the use of backpatching in a compiler for intermediate code generation:
(I) Backpatching can be used to generate code for Boolean expression in one pass.
(II) Backpatching can be used to generate code for flow-of-control statements in one pass.
Which ONE of the following options is CORRECT?
- (A)
Only (I) is correct.
- (B)
Only (II) is correct.
- (C)
Both (I) and (II) are correct.
- (D)
Neither (I) nor (II) is correct.
