Computer Science, asked by devanshagarwal0906, 1 month ago

int i=1;
for( ; i<=5; i+=2);
System.out.println(i);​

Answers

Answered by siva2004ms
1

Answer:

6

Explanation:

Because semicolon is there in for loop at last .so it considers only last value of the ith value

Similar questions