The for statement

The for statement is brobably the most frequently use loop construct. The for statement provides initialisation of counter, test condition and counter increment all in a single line. The general form of the for statement is:
for (initialisation; test-condition;increment)
{
body of the loop;
}

No comments:

Post a Comment