Skip to main content

WHILE STATEMENT while(expr) statement; While 'expr' evaluates to non 0, execute statement. A 'break' in the 'statement' will terminate the loop. A 'continue' will continue the execution from the beginning of the loop.