top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the use of while(1)? [CLOSED]

–1 vote
245 views

C Programming

posted Sep 5, 2016 by Sharad Gangurde

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
While(1) Is infinite loop
while(0) willl never enter loop (condition fails 0 = false).
while(1) will be running in infinite loop (condition (1 = true)) ,if we want to braek we should use some (conditions) or break statement .

...