Computer Science, asked by malickshan098, 7 months ago

Choose a correct C Statement regarding for loop. for(; ;);​

Answers

Answered by rohitvijay085
0

loop case

iteration and for while

Answered by DiyaTsl
0

Answer:

for loop works infinite number of times

Explanation:

For example : See the code

#include <stdio.h>

int main () {

  int a;

/* for loop execution */

  for( a = 10; a < 20; a = a + 1 ){

     printf("value of a: %d\n", a);

  }

  return 0;

}

When the preceding code is compiled and run, the following result is obtained:

10 is the value of a.

11 is the value of a.

12 is the value of a.

13 is the value of a.

14 is the value of a.

15 is the value of a.

16 is the value of a

17 is the value of a

18  is the value of a

19 is the value of a

#SPJ3

Similar questions