while(1) in c means code example
Example: do while loop in c
//This program stops when a number greater than 10 is printed and prints that, value greater than 10
#include <stdio.h>
main()
{
int a;
do
{
printf("\nEnter your value: ");
scanf("%d", &a);
} while (a<10);
printf("Value greater than 10");
}