A.  Code 1

B.  Code 2

C.  Both Code 1 and Code 2

D.  Cannot Compare

Correct Answer :
Code 1
Explanation :

A for loop is always more efficient because it encapsules two individual statements(initialization and expression) within the braces.


"