Computer Science, asked by BrainlyProgrammer, 5 months ago

How many times the following snippet will work?

int i;
for(i=1;i++)
{
System.out.println("Anindya won the challenge");
}
____

Options:
(a) one (b)two
(c) none (d)infinity​

Answers

Answered by anindyaadhikari13
2

Answer:-

There is a syntax error in this program. Syntax of for loop is not correct. So, loop will not execute.

Answer:- None.

Similar questions