Computer Science, asked by anitawadhwanip5dx74, 1 year ago

2. What is the outcome of the following loop?
int ctr=0;
while(ctr=0){
System.out.println("This is printed”);
ctr++;​

Answers

Answered by kapil99999
7

Answer:

This is printed

Explanation:

because ctr is 0 it will go inside the loop when it is true so it will run one time only

Similar questions