Computer Science, asked by balamurugancvl6695, 1 year ago

The following code ‘for(;;)’ represent an infinite loop. It can be determined by

Answers

Answered by rachitsainionline
6

The following code ‘for(;;)’ represent an infinite loop. It can be determined by:

break statement

please mark as brainliest

Answered by StaceeLichtenstein
0

Break is the correct answer to the given question .

Explanation:

In this question some mistake in the sentence .The correct sentence is for(;;)’ represent an infinite loop. It can be terminated by.

  • Now coming to the answer the break statement is used for breaking the loop if the particular condition is matched in the program it means it will terminated  the for loop .
  • we can used the break keyword to terminated the for loop following are the example of for loop

for (int k=2;k<=90;k++)

{

if(k==4)

{

break;

}

cout<<" hi";

}

In this k==4 the loop will break

Learn More :

  • brainly.in/question/6708072
Similar questions