What will be the output of the program?


			  		

Loading

Choose the correct option.

What will be the output of the program?

for (int i = 0; i < 4; i += 2) {     
System.out.print(i + " ");
}
System.out.println(i); /* Line 5 */

 

A. 36560
B. 0 2 4 5
C. 0 1 2 3 4
D. Compilation fails.