ExplanationThe for ( ; ; ) statement is used in the above program. This statement allows
execution of the body of the loop infinite times. To exit from the infinite for loop, goto statement
is used. After satisfying the test condition goto statement is executed which terminates the program.
6.8 Write a program to count numbers between 1 to 100 not divisible by 2,3 and 5.
# include <stdio.h>
# include <conio.h>
void mainO
{
int x,ca0;
clrscr();
printf ("\n Numbers fro
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.