|
Electronics Circuits &
Tutorials |
|
|
|
|
|
|
Home >
Electronics Tutorials >
C Language
Tutorial > Statements
- do |
C Language Programming Library
Reference Guide
|
Statements
- do
|
|
The do...while construct provides an iterative loop.
Syntax:
do statement... while(
expression );
statement is executed repeatedly as long as expression
is true. The test on expression takes place after each
execution of statement.
Examples:
do {
betty++;
printf("%i",betty);
} while (betty<100);
|
|
|
Note: To report broken links or to submit your projects,
tutorials please email to Webmaster |
|
|
|
|
Copyright ©
1999-2020
www.hobbyprojects.com
(All rights reserved) |
|