Constant folding is a compiler optimization. The transformation evaluates
constant expressions at compile-time to reduce them to the minimum equivalent
expression reducing the computing effort in run-time.
The following example shows an expression that evaluate to a constant value:
Because this always produce the same output, we can replace the expression with
its constant value.