GkSeries.com

Q.

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]

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Please share this page

Click Here to Read more questions

Teacher Eligibility Test