1.

The identification of common sub-expression and replacement of run-time computations by compile-time computations is _____________(a) Local optimization(b) Loop optimization(c) Constant folding(d) Data flow analysis

Answer» The correct choice is (c) Constant folding

For explanation: Constant folding is the process of recognizing and evaluating constant expressions at compile time rather than computing them at runtime. Terms in constant expressions are typically simple literals they may also be variables whose values are assigned at compile time.


Discussion

No Comment Found

Related InterviewSolutions