📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      Question

      Which code optimization technique replaces occurrences

      of a variable with its constant value if the variable has been assigned a constant value that is not subsequently changed?
      A Common Subexpression Elimination (CSE) Correct Answer Incorrect Answer
      B Loop Invariant Code Motion Correct Answer Incorrect Answer
      C Constant Propagation Correct Answer Incorrect Answer
      D Dead Code Elimination Correct Answer Incorrect Answer
      E Peephole Optimization Correct Answer Incorrect Answer

      Solution

      Constant Propagation

      Practice Next
      ask-question