Question

Which of the following techniques is an example of compiler-level code optimization?

A Adding more comments to improve readability
B Replacing repeated calculations with a single computed value (common subexpression elimination)
C Increasing indentation for clarity
D Writing longer variable names
E Adding debug print statements
Practice Next

Relevant for Exams:

Hey! Ask a query