while 无限循环

 无限循环写法while(1)

 循环体内部可以用break语句跳出循环

while(1)//
{
...

}

你可能感兴趣的:(C语言,c语言)