Which one of the following is FALSE?
Constant propagation is the process of substituting the values of known constants in expressions at compile time.
(D) is an example of constant propagation, note that it's not constant folding.
Correct Answer: $D$
Constant propagation refers to the act of replacing a bound variable with the constant it is bound to. Ex- x=10; y=x+x+x; that means x is bound to 10, then constant propagation will result into y=10+10+10;
Constant folding is simply evaluation of expression where all inputs are compile time constant. Ex- y=10+10+10; results into y=30;
I hope it helps.