Choose a correct C Statement regarding for loop. for(; ;);
Answers
Answered by
0
loop case
iteration and for while
Answered by
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
English,
3 months ago
English,
3 months ago
India Languages,
3 months ago
English,
7 months ago
Science,
7 months ago
Political Science,
11 months ago
Physics,
11 months ago