Substitution of values for names (whose values are constants) is done in
- A. Local optimization
- B. Loop optimization
- C. Constant folding
- D. Strength reduction
Answer: C. Constant folding
Explanation: Constant folding is the process of recognizing and evaluating constant expressions at compile time.