for ([declaration-or-expression]; [expression2]; [expression3])
{
/* body of the loop */
}
In a for loop, the loop condition has three expressions, all optional.
The first expression, declaration-or-expression, initializes the loop. It is executed exactly once at the beginning of the lo...