Explain c looping statements with examples
Answers
Answered by
0
Answer:
#include <stdio.h> int main () { for( ; ; ) { printf("This loop will run forever.\n"); } return 0; } When the conditional expression is absent, it is assumed to be true. You may have an initialization and increment expression, but C programmers more commonly use the for(;;) construct to signify an infinite loop.
Explanation:
Answered by
0
Answer:
#include <stdio.h> int main () { for( ; ; ) { printf("This loop will run forever.\n"); } return 0; } When the conditional expression is absent, it is assumed to be true. You may have an initialization and increment expression, but C programmers more commonly use the for(;;) construct to signify an infinite loop.
Similar questions
English,
10 days ago
Computer Science,
10 days ago
Psychology,
10 days ago
English,
20 days ago
English,
20 days ago
Math,
9 months ago
Science,
9 months ago
English,
9 months ago