1. What is the final value of x when the code for(int x=0; x<10; x++) is run?

A. 10
B. 9
C. 0
D. 1