Question

Consider the following code fragment

for(digit = 0; digit < 9; digit++)
{
	digit = 2*digit;
	digit - -;
}

How many times the loop will be executed?

A Infinite
B 9
C 5
D 0
Answer & Explanation
Option: [A]