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 chaithanyakapuluru
0

Answer:

its option d

Explanation:

since there is no condition for execution .

the loop runs infinity  times

hope u got clear explanation :)

Answered by anindyaadhikari13
2

Answer:-

This program contains error.

It will not execute.

Answer:- None, option C.

Similar questions