Open In App

UGC-NET | NTA UGC NET 2019 June – II | Question 12

Replacing the expression 4*2.14 by 8.56 is known as
(A) Constant folding
(B) Induction variable
(C) Strength reduction
(D) Code reduction

Answer: (A)
Explanation: Given that i = 4*2.14,

It’s constant folding.

Constant folding is defined as “replacing the value of expression before compile-time”. Here the value of 4*2.14 is replaced by 8.56. so it’s an of example constant folding.
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :