42.5k views
5 votes
What will the outcome look like
(Ignore the answer l put)

What will the outcome look like (Ignore the answer l put)-example-1

1 Answer

2 votes

The correct answer is 0123456789.

The for loop initializes the variable i at value 0 and then it increments i by 1 and prints it to the screen while i is less than 10.

I hope this helps!

User Sonorita
by
5.9k points